How to Sort Text Lines
Enter one item per line in the input box. Click Sort A→Z to arrange lines in alphabetical order, or Sort Z→A for reverse alphabetical order. Empty lines are automatically filtered out.
Common Use Cases
- List Organization - Sort to-do lists, inventory, or contact lists
- Data Cleaning - Alphabetize entries for easier scanning
- Programming - Sort import statements or arrays
- Keyword Research - Organize keyword lists for SEO campaigns
Sorting Options
The sorter supports case-insensitive alphabetical sorting by default. Numbers sort before letters. Special characters sort according to their ASCII/Unicode values.
FAQ
Is the sorting case-sensitive?No, the sorter treats uppercase and lowercase letters as equivalent. "Apple" and "apple" sort together.
What happens to empty lines?Empty lines are filtered out and don't appear in the sorted output.
Can I sort numbers?Yes, numbers sort numerically (1, 2, 10) not lexicographically (1, 10, 2).