About the Text Sorter
Put a list of names, products or keywords in order in a second. The sorter uses natural ordering, so “item 2” comes before “item 10” instead of after it, and it respects accented letters for your language.
You can also sort by the first number on each line, by length, reverse the current order, or shuffle the list using a cryptographically secure random generator — handy for picking a random order of presenters or prize winners.
How to use the Text Sorter
- Paste a list with one item per line.
- Choose a sort order and whether capitals should matter.
- Press Convert and copy or download the sorted list.
Features
- Sort CSV or table data by any column
- Remove duplicate lines while sorting
- Ignore “The”, “A”, “An” when sorting titles
- Keep a header line on top
- Natural A→Z and Z→A sorting
- Sort by first number found on each line
- Shortest-first and longest-first
- Secure random shuffle
- Optional removal of empty lines
Supported formats
- Plain text
- .txt
- .csv (one value per line)
Frequently asked questions
What is natural sorting?
Natural sorting compares numbers inside text by their value, so “file 9” comes before “file 10”. Plain alphabetical sorting would put “file 10” first because “1” is smaller than “9”.
Is the shuffle truly random?
It uses the Fisher–Yates algorithm with random numbers from your browser’s cryptographic generator, so every order is equally likely.