Line sorter
How to use
Paste lines, then sort A–Z or Z–A. Optional numeric order treats
2 as coming before 10. You can ignore
case, trim for comparison, drop blank lines, or remove duplicates
after sorting. Nothing is stored or sent anywhere.
About
Sorting uses the browser’s localeCompare (with an
optional numeric option, and uppercase before lowercase when case
is distinguished). Comparison can ignore case or surrounding
spaces, but the original line text is kept. Optional dedupe runs
after the sort and keeps the first remaining line for each key.
That is different from the text tools’ duplicate-line remover,
which drops later copies while leaving the rest in their original
order and does not sort. A final line break is kept when the input
had one. Input is capped at 1,000,000 characters. Nothing is stored
or sent anywhere.