Simple & private
Number Sorter
Sort numbers on separate lines.
What is this tool?
The Number Sorter arranges a list of numbers, one per line, from lowest to highest or highest to lowest. Unlike a plain text sort, it compares numbers by their actual value, so "9" correctly comes before "10" instead of after it, and it handles negative numbers and decimals correctly too.
How to use this tool
- Paste your numbers into the input box, one per line.
- Choose "Low → High" or "High → Low".
- Click "Run tool" to see the sorted list.
- Click "Copy result" to copy the sorted numbers, or "Clear" to start over.
Example
The numbers "42, 7, 15" sorted Low → High become "7, 15, 42". A mixed list like "-3, 10.5, 0, -8.2" sorted Low → High becomes "-8.2, -3, 0, 10.5" — decimals and negative values are compared by their true numeric value, not as text.
Common use cases
- Sorting scores or measurements for a report
- Ordering prices from lowest to highest
- Arranging survey results numerically
- Preparing sorted data before charting it
- Ranking a list of results before picking the top or bottom entries
- Checking a dataset for outliers by seeing the extremes at a glance
Frequently asked questions
What happens if a line is not a number? +
Non-numeric lines are ignored so only valid numbers are sorted.
Does it handle negative numbers or decimals? +
Yes, negative numbers and decimals are sorted correctly by their numeric value.
Can I sort text instead of numbers? +
Use the List Sorter for alphabetical sorting of words instead.
What happens with duplicate numbers? +
Duplicates are kept and placed next to each other in the sorted order — nothing is removed.
Is there a limit to how many numbers I can sort? +
No fixed limit — the tool sorts instantly even for long lists, since everything runs locally in your browser.