Line Sorter processes text line by line and lets you sort A→Z, Z→A, by length ascending or descending, reverse the order, shuffle randomly, or remove duplicate lines. Results appear in a separate output panel with a copy button.
Yes. Blank lines are treated as empty strings — they sort to the top in ascending order and can be removed using the deduplicate option.
Sort A→Z and Z→A use locale-aware comparison, treating uppercase and lowercase versions of the same letter as equivalent for ordering.
Lines are ordered by their character count, ascending (shortest first) or descending (longest first). Lines of equal length keep their relative order.
Shuffle randomly reorders all lines using a randomization algorithm — running it again produces a different order each time.
Standard alphabetical sort treats numbers as text, so '10' may sort before '2'. For numeric line content, locale-aware comparison helps but full natural-number sorting isn't guaranteed.
Reverse simply flips the current line order — it doesn't 'undo' a previous operation, so reversing an already-sorted list produces Z→A order.
Apply one operation, copy or use the output, then paste it back in for a second operation — each action processes the current input independently.