Line sorter
Sort and clean a list of lines.
Sort a list line by line alphabetically, numerically, or by length. Choose ascending or descending order, then optionally trim spaces, remove empty lines, ignore case, or delete duplicates.
Sorting settings
Choose the sort type, order and cleanup options before copying the result.
Sort type
Order
Quick explanation
Paste a list with one item per line. The result updates according to the sorting type, direction, and enabled options. You can then copy the sorted list.
Try this too
Need to simply reverse the list?
Use Reverse text to flip the order of lines, words, or characters without applying alphabetical, numerical, or length-based sorting.
Additional information
How to sort a list of lines
Paste or type one item per line, then choose the sorting type: alphabetical, numerical, or length. Select ascending or descending order.
What are the options for?
The options can trim line edges, remove empty lines, ignore case while sorting, or delete duplicates.
When is it useful?
Use it to organise a list of names, values, links, keywords, or items copied from a document. Review the result if your list contains numbers in different formats.
Limits and reuse
AppErgo tools are provided free of charge for practical and informational purposes. Although care is taken in their design, a result may be incomplete, unexpected or incorrect. Before relying on a result for any important use, check it using an appropriate method.
To report a bug in the tool, you can use the dedicated bug report form.
Results produced by AppErgo tools may be copied and reused freely. When publicly reusing a result, a method or an AppErgo page, a link to the relevant page is appreciated.
Unless otherwise stated, AppErgo texts, images, visual elements, scripts, templates and internal components remain the property of AppErgo.
For any other request, you can contact the webmaster.