Ordering numbers
The question
Order: 13, 2, 0, 17
given:132017
sorted:021317
sorted:021317
0 < 2 < 13 < 17
- Sort by how many digits first — fewer digits means smaller, so 2 comes before 13.
- Smallest first: 0, 2, 13, 17.
- Written with the signs: 0 < 2 < 13 < 17.
How it works.
- 01
Sort by how many digits first — fewer digits means smaller, so 2 comes before 13.
- 02
Smallest first: 0, 2, 13, 17.
- 03
Written with the signs: 0 < 2 < 13 < 17.