In what order are creatures affected by the Sleep spell?

I thought I understood the sleep spell, but now I’m confused about the order of creatures affected. I always thought it was from lowest current HP to highest.

However, near the end of the spell description, it says (emphasis mine):

Subtract each creature’s hit points from the total before moving on to the creature with the next lowest hit points.

Which to me would indicate that we are going from highest to lowest.

Is this a typo? In which order are creatures suppose to be affected by the sleep spell?