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

InputResult
Depot Bulletin ArchiveArchive Bulletin Depot
Folder Exhibit FolderExhibit Folder Folder
Catalogue HallCatalogue Hall
Gallery gallery ArchiveArchive Gallery gallery
Depot Catalogue Catalogue Catalogue Catalogue Depot
Hall Archive Folder DepotArchive 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

  1. A librarian sorts titles and decides whether initial articles should be moved in a separate catalogue field.
  2. A shop assistant sorts shelf labels and checks numeric stock codes separately.
  3. 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.

Related tools

Browse all text tools

Related guides

Previous tool Remove Duplicate Lines Next tool Sort Lines Z to A