ToolSink

Alphabetical Sorter

Sort a list of lines A→Z or Z→A. Case-sensitive, case-insensitive, natural or by length.

What is the Alphabetical Sorter?

The Alphabetical Sorter reorders a list of lines A→Z or Z→A, with case-sensitive, case-insensitive, natural (so "file2" comes before "file10") and by-length modes. Optional trimming and de-duplication clean up messy lists in the same pass.

Sorting runs client-side, so private lists — names, emails, candidates — stay on your device.

How to use the Alphabetical Sorter

  1. 1Paste your list into the input box, one item per line.
  2. 2Pick the sort key: alphabetical, natural or length.
  3. 3Pick the direction: ascending or descending.
  4. 4Optionally toggle "Trim lines" and "Remove duplicates".
  5. 5Copy the sorted output or apply it back to the input.

Key features

  • Case-sensitive and case-insensitive modes
  • Natural sort (numbers inside strings sort numerically)
  • Sort by length
  • Deduplicate and trim options
  • Handles thousands of lines

Frequently asked questions

What is natural sort?

It sorts numbers inside strings the way humans expect — "file2" before "file10", not after.

Does it handle accented characters?

Yes — sorting uses localeCompare, so é sorts near e.

Tap any tool to jump straight in — no signup, works on mobile.

View all →