Number Sorter

Client-sideNo sign-upFree

Sort a list of numbers ascending or descending, with sum, average, min, and max calculated.

How this tool works

1

Paste your numbers

One per line or comma-separated - the separator is detected automatically.

2

Choose a direction

Ascending or descending, using a true numeric comparison.

3

Read the sorted result

The full sorted list, ready to copy back out.

4

Check the summary stats

Sum, average, min, and max are calculated automatically from the same list.

Quick facts

Category
Text Tools
Best for
Sorting a pasted column of numbers and getting quick summary stats without opening a spreadsheet
Input (one per line or comma-separated)
✓ 8 number(s)
Sorted result
3 3 7 15 19 42 61 88
Sum
238
Average
29.75
Min
3
Max
88
In-content slot

About this tool

Paste a list of numbers - one per line or comma-separated, detected automatically from whichever separator is present - and sort them ascending or descending with a true numeric comparison rather than the alphabetical string sort a general text tool would apply, where "10" would incorrectly sort before "9". Alongside the sorted list, four summary statistics are calculated automatically: sum, average, minimum, and maximum, so you get the arithmetic you'd usually reach for a spreadsheet for without leaving the page. This is a distinct tool from the general text sorter - that one handles alphabetical, length-based, and line-shuffling operations for arbitrary text; this one is purpose-built for numeric lists and the math that goes with them. Runs entirely client-side.

Why use this tool

True numeric sort

Compares by actual value, not alphabetically, so 9 correctly sorts before 10.

Auto-detected separator

Works with numbers one per line or comma-separated, without a manual format toggle.

Built-in summary stats

Sum, average, min, and max appear automatically alongside the sorted list.

Catches non-numeric entries

A stray non-number in the list is flagged by name instead of being silently dropped or miscounted.

Frequently asked questions

The text sorter handles general-purpose lines of text: alphabetical order, sorting by length, shuffling, and deduplication. This tool is purpose-built for numbers specifically - it sorts by actual numeric value rather than alphabetically (so "9" correctly comes before "10", which a plain alphabetical sort gets wrong), and it calculates sum, average, min, and max, none of which apply to a general text list.

The specific invalid entry is named in the error message rather than being silently skipped or treated as zero, so you can find and fix the exact line causing the problem. Nothing is sorted or calculated until every entry in the list parses as a valid number.

No - the tool checks whether your input contains a comma and splits on commas if so, otherwise it splits on line breaks. This means you can paste a comma-separated list from a CSV cell or a newline-separated column from a spreadsheet without switching a format setting first.

Explore more free tools

Formatters, converters, validators, and generators - all free and running entirely in your browser.

Browse more tools