How to use Text Sorter
Sort lines alphabetically, numerically, or by length in ascending or descending order.
- 01Paste one sortable item per line.
- 02Choose alphabetic, length, or numeric mode and direction.
- 03Copy or download the sorted result.
Alphabetical, length, and numeric sorting
Alphabetical mode uses natural numeric comparison, placing item2 before item10. Length uses visible Unicode characters, while numeric mode parses each entire line as a number.
Non-numeric rows
In numeric mode, rows that are not finite numbers are placed after valid numbers with stable ordering so no content disappears.
Frequently asked questions
Does item2 sort before item10?
Yes. Alphabetical mode uses natural numeric comparison.
Does sorting remove duplicates?
No. Use the Duplicate Line Remover when you also need deduplication.