Sort lines A-Z, Z-A, by length, reverse, shuffle, or extract unique lines. Options to trim and ignore empty lines.
Sorting lines looks like one operation until the list holds Item 2 and Item 10. The Text Line Sorter offers 8 orderings, two of which deduplicate as they go, plus a shuffle that reseeds on every click instead of handing back the arrangement it gave you last time.
A → Z compares with localeCompare rather than raw code units, which is why Ärger lands beside Arbeit instead of trailing after Zürich. The comparison is still textual, though, so Item 10 sorts ahead of Item 2: the 1 settles it and the digit after never gets a look in.
Three checkboxes reshape the input before any sorting happens. Trim lines and Ignore empty lines are on by default and Case-insensitive is off. A counter on the right reads 42 lines in → 37 out with the difference beside it, so a deduplicating mode reports its own effect. All of it runs locally.
localeCompare follows the browser's locale, so an identical list can order differently on a machine set to Swedish, where ä sorts after z rather than beside a.Item 2 ahead of Item 10, pad it to Item 02 first.NOTE and note both survive. Tick the box and only the first spelling remains.