Line tools
Sort, deduplicate, shuffle, number, trim and reverse lines of text.
How it works
Operations apply in a fixed order — trim, remove empties, deduplicate, sort, reverse, then add prefixes and numbering — so the result is predictable regardless of which order you tick the boxes.
Deduplication keeps the first occurrence
With “ignore case” on, Apple and apple are treated as the same entry
and the first one encountered survives. Deduplicating before sorting means the surviving copy
is the one that appeared first in your original data.
Sorting is locale-aware
Alphabetical sorting uses localeCompare, so accented characters sort where a human
would expect rather than by raw code point. Numeric sorting reads the leading number on each
line, which handles “10. item” lists correctly where alphabetical sorting would put 10 before 2.
Random order
The shuffle is a Fisher–Yates pass seeded from the browser's cryptographic random source, so it is unbiased and unpredictable — suitable for drawing a random order fairly.