Text Line Sorter
Sort lines alphabetically or numerically
Sort lines of text alphabetically, numerically, by length, or in reverse order. Supports case-insensitive sorting.
How to Use Text Line Sorter
- 1Paste your text lines into the input box
- 2Select sort type: A–Z, Z–A, numeric, or by length
- 3Toggle case sensitivity if needed
- 4Click "Sort" to reorder the lines
- 5Copy the sorted output
Features
- Alphabetical A–Z and Z–A sorting
- Numerical sorting (handles mixed text/numbers)
- Sort by line length (shortest or longest first)
- Case-sensitive and case-insensitive modes
- Remove blank lines option
- Handles thousands of lines instantly
Frequently Asked Questions
Can it sort numbers correctly?
Yes. Numeric sort handles numbers as numbers, so 10 comes after 9 (not after 1 as in alphabetical sort). Mixed text lines fallback to alphabetical comparison.