How to use the number sorter
Sorting numbers should not need a spreadsheet. Paste, choose a direction and copy.
- Paste your numbers into the Input box, separated by new lines, spaces, or a comma followed by a space.
- Choose the Order: Ascending for smallest first or Descending for largest first.
- Choose the Output separator: Comma, New line or Space.
- Tick Remove duplicates if each value should appear only once.
- Read the result in the Sorted numbers box, then press Copy or Download .txt.
For example, 42, 7, 19, -3 in ascending order becomes -3, 7, 19, 42. The list 10 2 33 -4.5 0.25 in descending order with the New line separator gives 33, 10, 2, 0.25 and -4.5, one per line.
The Output separator decides where the result goes next. Comma suits a formula, an array in code or a tag field, New line suits a spreadsheet column, and Space suits a sentence or a command line. The output is rebuilt from the sorted values every time, so changing the separator or the order never needs a fresh paste.