An organised list is easier to read, search and use, but sorting one by hand is painful past a few items. The Sort Lines tool arranges your lines alphabetically (A–Z or Z–A), or shuffles them randomly, in a single click — turning a jumble into an ordered list instantly.
How to use the Sort Lines tool
- Paste your list, one item per line.
- Choose a sort: A–Z, Z–A, or random shuffle.
- Optionally ignore case for a more natural alphabetical order.
- Copy the sorted result.
When sorting earns its keep
Alphabetical order makes names, terms, references and any list far quicker to scan and to find a specific entry in. Reverse order is useful for ranking from highest to lowest when your lines start with numbers or dates. The random shuffle, meanwhile, is perfect for drawing names, randomising questions, or picking an unbiased order for anything from a playlist to a raffle. One tool covers all three common needs.
Tips for tidy sorting
- Ignore case so "banana" and "Banana" sort together naturally.
- Remove duplicates first if your list has repeats.
- Numeric lists sort as text, so pad numbers with leading zeros for true numeric order.
- Use random mode any time you need a fair, unbiased order.
Sorting happens entirely in your browser, so your list stays private no matter what it contains.
Quick reference
| Mode | Result |
|---|---|
| A–Z | Ascending alphabetical |
| Z–A | Descending alphabetical |
| Random | Shuffled order |
| Ignore case | Optional |
| Processing | Local |