About this tool
Sort list items alphabetically, numerically, by text length, or reverse with options for custom list separators.
List Sorter reorders a pasted list eight ways — A–Z, Z–A, numeric ascending or descending, shortest or longest item first, straight reverse, or a Fisher-Yates shuffle — and re-splits the list on your chosen separator: newline, comma, semicolon or pipe. Alphabetical sorting uses locale-aware comparison and is case-insensitive unless you switch case sensitivity on; numeric sorting strips out everything except digits, a decimal point and a minus sign, so "$1,200" and "42 kg" still sort by their value. The result updates as you type and can be copied or downloaded as sorted-list.txt.
Open List Sorter on AltFTool — it loads instantly in your browser.
Paste your items into the list box and pick a List Separator: New Line, Comma (,), Semicolon (;) or Pipe (|).
Choose an ordering — A-Z, Z-A, 0-9 Ascending, 9-0 Descending, Shortest First, Longest First, Reverse List or Shuffle List — and toggle 'Trim Whitespace & Skip Empty'.
Read the sorted output, then press Copy or Download to save sorted-list.txt.
Alphabetical, numeric, by length, reversed and shuffled all run off the same input, so you can try an ordering and switch without re-pasting.
Non-numeric characters are stripped before comparison, so 100 sorts after 42 instead of before it and negative values land first.
Off by default so Apple and apricot interleave naturally; switch it on when uppercase-first ordering actually matters.
Choose Comma as the list separator and A–Z as the mode — the list is split on commas, sorted, and rejoined with commas. Leave Trim Whitespace on so the space after each comma does not affect the sort order.
A plain text sort compares character by character, so "100" comes before "42" because "1" precedes "4". Pick 0–9 Ascending instead: the numeric modes strip every character except digits, the decimal point and the minus sign, then compare the values, so -10, 5, 18, 23.5, 42, 100 come out in true order.
Yes — Shortest First and Longest First order items by character count, and items of identical length are broken alphabetically so the result is stable and predictable rather than arbitrary.
With Trim Whitespace & Skip Empty enabled — the default — each item is trimmed and empty items are dropped before sorting, so a trailing comma or a blank line does not produce a phantom entry at the top of the list. Turn it off if the leading spaces are meaningful and should be preserved.