About the Sort Lines
Put a list in order: alphabetical either way, natural order (so item 2 comes before item 10), shortest or longest first, reversed, or shuffled with a cryptographically random shuffle for fair draws. Accented letters sort where a reader expects them, not after Z.
How to use it
- Paste one item per line.
- Pick an order.
- Switch on Remove duplicates if you need a unique list.
Example
- Input
- item 10 item 2 Apple banana
- Result
- Apple banana item 2 item 10 (natural order)
Questions
What is natural sort?
Natural sort reads numbers as numbers, so file2 comes before file10. A plain alphabetical sort compares character by character and puts file10 first.
Is the shuffle random enough for a prize draw?
It uses the browser's cryptographic random number generator with an unbiased Fisher–Yates shuffle, so every order is equally likely.
Does upper case sort before lower case?
Not by default: Apple and apple sort together. Turn on Case sensitive to separate them.