Sort Numbers
Sort one-number-per-line input by numeric value instead of text, so 10 comes after 2. Blank lines are dropped and each line is read by its leading number. Ideal for scores, IDs and measurements.
Try it now
Worked example
2
4
10
33
Frequently asked
Why not just sort as text?
Text sorting puts 10 before 2; this compares the actual numbers.
What happens to non-numeric lines?
Lines without a leading number sort to the end.