Number Sorter
Paste any list of numbers — separated by lines, commas, or spaces — and sort them in true numeric order, ascending or descending.
Sort order
Output separator
Frequently Asked Questions
- How do I sort a list of numbers online?
- Paste your numbers into the box — separated by new lines, commas, or spaces — choose ascending or descending, and click Sort. The tool parses every number and reorders them instantly.
- What is the difference between numeric and alphabetical sorting?
- Alphabetical (lexicographic) sorting compares text character by character, so 10 comes before 2. Numeric sorting compares actual values, so 2 comes before 10. This tool always sorts numerically.
- Can I remove duplicate numbers while sorting?
- Yes. Turn on the 'Remove duplicates' option and each value appears only once in the sorted output.
- Does the sorter handle decimals and negative numbers?
- Yes. Decimals like 3.14 and negative numbers like -42 are parsed and sorted by their true numeric value. Anything that is not a valid number is ignored.
- Can I choose how the sorted numbers are separated?
- Yes. Choose new line, comma, or space as the output separator, so the result is ready to paste into a document, spreadsheet, or code.