Sort lists of numbers ascending or descending — auto-detects delimiter, removes duplicates optionally, and shows instant statistics including min, max, mean and median.
Enter your code, parameters, or expression in the left editor panel.
Review the live output, generated code, or conversion results in real-time.
Click Copy or Download to grab your production-ready code or output instantly.
The tool auto-detects commas, spaces, tabs, semicolons, and newlines. It uses whichever delimiter appears most consistently in your input, and applies the same delimiter in the output.
Yes. The tool handles integers and decimal numbers (floats). Numbers are sorted by numeric value, not alphabetically — so 10 correctly sorts after 9, not between 1 and 2.
The statistics panel shows Count (total numbers), Sum, Min, Max, Mean (average), Median (middle value), and Range (max minus min). These update instantly when you sort.
When enabled, duplicate values are removed from the output, keeping only one instance of each unique number. The statistics reflect the deduplicated set.
Yes — choose Descending from the order selector before clicking Sort. The output will go from highest to lowest value.
No practical limit. The tool handles thousands of numbers instantly in your browser.