A text sort orders 2, 10 and 100 wrongly because it compares them as strings, not values.
Sort Numbers Online reads each line as a number and orders them by value.
How to use Sort Numbers Online
- Paste one number per line into the input box.
- Choose ascending or descending, and Sort Numbers Online orders the numeric lines by value.
- Copy the sorted numbers, or download them as a .txt file.
Use cases
- Sorting a column of prices or quantities by value.
- Ordering measurements from smallest to largest.
- Arranging numeric IDs in true numeric order.
Good to know
Sort Numbers Online parses each line as a number, including decimals and negatives, and orders them by value. Lines that are not numbers are kept and shown under a labelled note so the numeric list stays clean.
Frequently asked questions
Does it handle decimals and negatives?
Yes. Values with decimal points and negative signs are parsed and ordered correctly by magnitude and sign.
What happens to non-numeric lines?
They are not sorted into the numbers; instead they are listed under a note so you can see what was skipped.
Can I order largest first?
Yes. A direction control switches between ascending and descending numeric order.