How to sort a list
- Paste the list, one item per line.
- Pick an order. The sorted list appears on the right immediately.
- Copy it or download it as a .txt file.
Sort orders explained
- A → Z uses dictionary order for English: accents are sorted with their base letter (é next to e), and by default upper and lower case are treated alike. Numbers are compared character by character, so “Item 10” comes before “Item 2”.
- Natural order compares numbers inside the text by their value, so “Item 2” comes before “Item 10” — the way file managers list files. Use it for chapters, versions, invoice numbers and plain number lists.
- By length puts the shortest (or longest) lines first; lines of the same length are alphabetized.
- Reverse flips the current order without sorting — handy for turning a newest-first list into oldest-first.
- Shuffle randomizes the order using the Fisher–Yates algorithm, where every arrangement is equally likely. Click “Shuffle again” for a new order. It's fine for picking a random speaking order or raffle sequence, but for anything with legal or financial stakes use an audited draw.
Options
Case-sensitive keeps “apple” and “Apple” as different items and places capitals first when two lines are otherwise equal. Trim spaces stops leading spaces from pushing a line to the top. Remove duplicates keeps one copy of each line after sorting — the same as the remove duplicate lines tool, but sorted.
Frequently asked questions
Why does “10” come before “2”?
Alphabetical order compares text one character at a time, and “1” comes before “2”. Choose “Natural” order to compare numbers by their value.
Can I sort a column from Excel?
Yes. Copy the column, paste it here, sort, and paste the result back. Each cell becomes one line.
Is the shuffle truly random?
It uses an unbiased Fisher–Yates shuffle driven by your browser’s random number generator. Every order is equally likely, which is fine for everyday use, but it isn’t a certified lottery draw.
Is my list uploaded?
No. Sorting runs entirely in your browser.