Sort the numbers 0–100 by their English spelling and convert numbers to/from words.
Puzzles sometimes encode messages as the position a number occupies when 0 to 100 are sorted alphabetically by their English spelling. In that order eight is position 1, eighteen is 2, eighty is 3, and so on, with zero at the very end (101). Pick the conversion direction below, then enter your input as space-separated values.