Text Sorter

Sort lines of text alphabetically, by length, or in reverse.

Ad Slot
Ad Slot

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.

We use cookies for analytics and to show ads that keep this site free. No personal data is sold.