Energetic plasma ions within the Earth's magnetosheath