Text Tool
Sort Lines A to Z
Sort Lines A to Z helps clean or transform pasted text quickly in the browser. Use it online on EasyTools99.
Tool area
Everything runs in the browser.
Reference results
| Input | Result |
|---|---|
Depot
Bulletin
Archive | Archive
Bulletin
Depot |
Folder
Exhibit
Folder | Exhibit
Folder
Folder |
Catalogue
Hall | Catalogue
Hall |
Gallery
gallery
Archive | Archive
Gallery
gallery |
Depot
Catalogue
Catalogue | Catalogue
Catalogue
Depot |
Hall
Archive
Folder
Depot | Archive
Depot
Folder
Hall |
How it works
The browser sorts non-empty lines in ascending order using its base-sensitivity collation. Case and accents can compare as equal. Equal lines stay in the list, including duplicates.
Worked examples
- A librarian sorts titles and decides whether initial articles should be moved in a separate catalogue field.
- A shop assistant sorts shelf labels and checks numeric stock codes separately.
- An administrator alphabetises a signup list and keeps repeated names until both registrations can be checked.
Common mistakes
- Expecting duplicate lines to disappear.
- Sorting column headers together with the entries.
- Assuming alphabetic order handles numeric strings as numbers.
FAQ
Are duplicates preserved?
Yes. Every non-blank line remains.
Which language controls sorting?
The browser's collation settings govern comparisons. Review language-specific ordering before publishing.
Are leading spaces stripped?
A non-empty line retains its whitespace.
