About this Text Sorter
Text Sorter organizes one-item-per-line lists without requiring a spreadsheet. Choose ascending or descending order and copy the sorted result.
Formula or method
Example
Lines “Pear, Apple, Banana” become Apple, Banana, Pear in ascending order.
Common uses
- Alphabetize names or keywords.
- Reorder one-item-per-line lists.
- Prepare sorted lists for reports or content.
How to use this tool
- Enter the values or text requested by the calculator.
- Choose units or options when the tool provides them.
- Select the calculation button and review the result.
- Use the formula, example and notes on this page to check whether the result fits your situation.
Important note
Sorting is text-based, so values such as 10 and 2 are ordered as text unless you prepare them with consistent padding.
Frequently asked questions
Are blank lines included?
Blank lines are ignored in the sorted output.
Is sorting case sensitive?
The tool uses locale-aware comparison with case-insensitive behavior where supported by the browser.