Skip to content
ZeroServer.tools

Array Sorter

Sort a list of values numerically, alphabetically, in reverse, or shuffled — with optional deduplication.

5 of 9 values could not be parsed as a number and were sorted to the end alphabetically.

9 values

How the array sorter works

Paste any list of values — one per line, comma-separated, or a mix of both — and this tool treats it as an array and reorders it instantly. Numeric mode compares values as numbers (so 2 correctly sorts before 10, unlike a plain text sort), with any non-numeric entries pushed to the end and sorted alphabetically. Alphabetical mode uses locale-aware, case-insensitive string comparison. Reverse simply flips the current input order without otherwise re-sorting it, and Shuffleproduces a fresh random order each time you click "Shuffle now" using a Fisher-Yates shuffle. The optional "Remove duplicate values" toggle keeps only the first occurrence of each value (case-insensitive) before sorting. Everything runs locally in your browser — nothing is uploaded anywhere.

For numbers-only input with sum/min/max stats, try the Number Sorter. For sorting whitespace-separated words by frequency or length instead, see the Word Sorter.

Private & free — this tool runs entirely in your browser.

Recommended: IndieKit Ship your Next.js startup in days.affiliate

Related Formatters & Validators tools