Loading...
Tool location: /txt/text-sort
Sort lines of text in various orders. Arrange lines alphabetically (A-Z or Z-A), numerically, by line length, or randomly shuffle them. Perfect for organizing lists, sorting data, or randomizing content.
Enter or paste text with each item on a separate line. Each line will be sorted as a unit.
Select how you want to sort:
The sorted result appears instantly. Copy to clipboard or continue editing.
Alphabetical, numerical, by length, or random.
Sort in either direction.
See sorted output immediately.
Case-sensitive or case-insensitive sorting.
A: Numeric sort extracts numbers from each line and sorts by their value, so "10" comes after "2" (unlike alphabetical where "10" comes before "2").