About Text Sorter
Sorting a list is trivial in a spreadsheet and awkward everywhere else. When your list lives in a text editor, a chat message or a form field, moving it into a spreadsheet and back is more work than the sort itself.
Natural sort deserves a specific mention because it fixes a common annoyance. A plain alphabetical sort puts item10 before item2, because it compares character by character and "1" precedes "2". Natural sort recognises the numbers inside the text and orders them numerically, giving item2 then item10 — almost always what was actually wanted.
Reversing is included here because it is the same job: changing the order of things. Reverse line order to flip a chronological log, reverse word order to test how a phrase reads backwards, or reverse characters for puzzles and palindrome checking.
How to sort a list
Paste your lines
One item per line.
Choose an order
Alphabetical, numeric, natural, by length, shuffled or reversed.
Adjust the options
Ignore case, trim whitespace or drop blank lines before sorting if the data is untidy.
Copy or download
Copy the reordered list or save it as a text file.
Sort modes explained
- Alphabetical — locale-aware dictionary order, handling accents correctly.
- Numeric — each line parsed as a number, so 2, 10 and 100 order correctly.
- Natural — mixed text and numbers ordered the way people read them.
- By length — shortest to longest, useful for spotting outliers in a data set.
- Random shuffle — an unbiased Fisher–Yates shuffle seeded from the browser's cryptographic random source.