Text Sorter
Put a list of lines in alphabetical order, sort them by length, or reverse them.
How to use Text Sorter
- Paste your list, one item per line.
- Pick A → Z, Z → A, Shortest first, Longest first, or Shuffle for a random order.
- Copy the sorted list.
Frequently asked questions
Does it remove blank lines before sorting?
Yes — empty or whitespace-only lines are filtered out first, in every sort mode.
How is alphabetical order actually decided?
Through JavaScript's localeCompare, which does locale-aware string comparison rather than a raw character-code sort, so it handles accented letters and mixed case more naturally than plain ASCII sorting.
Does clicking Shuffle again reshuffle the same list?
Not on its own — the shuffle only recalculates when you switch into Shuffle mode or edit the text, so clicking the same Shuffle button repeatedly without changing anything leaves the order as-is.
Community
Loading...