Try sorting a list with a plain JavaScript .sort() and you’ll get two
surprises: every accented word gets shoved to the very end, and “item10”
comes before “item2”. Both happen because a naive sort compares raw
character codes instead of actual alphabetical meaning.
Our new alphabetize lines tool fixes both:
- A→Z, Z→A, by length, or shuffle — four modes, one click apart.
- Locale-aware comparison — accented letters sort next to their plain counterparts (á beside a, ñ beside n), not dumped after z.
- Numeric-aware — digit runs inside a line compare by value, so “item2” correctly sorts before “item10”.
- Case-insensitive by default — “Apple” and “apple” sort as equals, though each line keeps its original capitalization in the output.
Shuffle mode runs a fresh Fisher-Yates pass every time — no seed, no repeating pattern — handy for randomizing a raffle list or a quiz order.
Your list never leaves your browser and never touches the URL; only the sort mode and the two option toggles do, so you can bookmark a pre-configured link without exposing any of your data.
Also available en español with Spanish-locale sorting, and embeddable with a single iframe.