Line Sorter
Sort lines of text alphabetically, by length or numerically, or shuffle them randomly. Organize lists and pasted text in one click.
How to sort lines of text
- Paste your list or text into the input box, one item per line.
- Choose a sort order: A to Z, Z to A, by length, numeric or random.
- Optionally remove empty lines before sorting.
- Click Sort Lines and copy the result.
FAQs
How does numeric sorting handle text?
Lines that start with a number are sorted by value, while lines that are not numbers are moved to the end and sorted alphabetically.
What does the Random option do?
It shuffles the lines into a random order using a Fisher-Yates shuffle, so every arrangement is equally likely.
Does my text leave my device?
No. Sorting runs entirely in your browser, so your data is never uploaded or stored anywhere.
Is this tool free?
Yes. All Handio tools are free with no sign-up and no limits on how much text you process.
Related Tools
Why use Line Sorter?
Sorting a list by hand is slow and error-prone. This tool arranges your lines instantly in the order you choose, so you can organize names, keywords and data before you use them.
- Put a list of names or keywords into alphabetical order.
- Arrange numbers or IDs in ascending order for a report.
- Shuffle a list to randomize the order for a draw or assignment.
Tips and Limits
A to Z and Z to A sort alphabetically with locale-aware ordering, while Numeric sorts by value and moves non-numeric lines to the end. Enable Remove empty lines to skip blank lines, and everything is processed locally.