Ordering numbers

The question

Order: 13, 2, 0, 17

given:132017
sorted:021317
sorted:021317
0 < 2 < 13 < 17
  1. Sort by how many digits first — fewer digits means smaller, so 2 comes before 13.
  2. Smallest first: 0, 2, 13, 17.
  3. Written with the signs: 0 < 2 < 13 < 17.

How it works.

  1. 01

    Sort by how many digits first — fewer digits means smaller, so 2 comes before 13.

  2. 02

    Smallest first: 0, 2, 13, 17.

  3. 03

    Written with the signs: 0 < 2 < 13 < 17.