Text Sorter — Sort Lines A-Z, Z-A, by Length or Reverse
Any list, sorted — A to Z, Z to A, shortest first, longest first, or flipped.
How to use this tool
- Paste your list — blank lines are ignored.
- Pick a sort: alphabetical (both ways), by length, numeric-aware, or a simple flip.
- Copy the sorted result.
Example
file2, file10, file1: plain A→Z gives file1, file10, file2 — but numeric aware gives file1, file2, file10, the order humans expect. That's why it exists.The formula
What the result means
Naive sorting is alphabetical and case-sensitive ('Zebra' before 'apple'); this tool uses the browser's international collation, which ignores case and — in numeric-aware mode — compares embedded numbers as numbers. The result is the order a person would expect, which is usually the point of sorting.
Frequently asked questions
Why is the sort case-insensitive?
Because lists meant for humans read better that way — 'apple, Banana, Mango' instead of 'Banana, apple, Mango'. If you need byte-order sorting, your terminal already does it.
What does 'numeric aware' do exactly?
It compares digit runs inside lines as numbers: version1, version2, version10 in true numeric order instead of version1, version10, version2.
Can I sort CSV or multi-column data?
Not sensibly — this tool sorts whole lines. For spreadsheets, sort in the spreadsheet; this bench is for plain lists.
Is my list private?
Yes — sorting happens entirely in your browser.
More tools from Paper Port
Explore the island world
- Paper Port — the island where this tool lives.
- The Main Island — drive the boat, explore the whole world.
- The 90s Kids Island — where most of us started.
Comments
Post a Comment