Sort text lines alphabetically or reverse order.
The Line Sorter orders a list of text lines alphabetically, numerically, or by length. It supports ascending (A–Z, 0–9) and descending (Z–A, 9–0) order, case-sensitive and case-insensitive sorting, and natural sort order (where '10' comes after '9' instead of before it). Common uses: sorting CSS property lists for readability, ordering import statements, alphabetizing configuration keys, sorting word lists for dictionary tools, and organizing data before deduplication.
Natural sort treats embedded numbers as numeric values. Lexicographic (alphabetic) sort orders '10' before '2' because '1' < '2'. Natural sort orders '2' before '10' because 2 < 10. Use natural sort for file names, version numbers, and any list mixing text with numbers.
Most sorters sort uppercase before lowercase (A–Z then a–z) in strict ASCII order. Case-insensitive sort ignores case so 'apple', 'Apple', and 'APPLE' are treated as equivalent.
Yes — use length sort mode to order from shortest to longest line (or longest to shortest). Useful for identifying outlier entries in a list or formatting columnar text.