Text Sorter

Sort lines of text alphabetically or by length.

How to Use

  1. Paste your list, one item per line.
  2. Choose a sort order: alphabetical, by length, or numeric.
  3. Optionally remove duplicate lines before sorting.
  4. Click Sort to reorder the list in place.

Features

  • Six sort modes: alphabetical, length, and numeric, each ascending or descending
  • Optional duplicate removal
  • Locale-aware alphabetical sorting

Frequently Asked Questions

How does numeric sort handle non-numeric lines?

Lines that don't start with a recognizable number are treated as zero, so they will sort to the beginning in ascending order.

Is the sort case-sensitive?

Alphabetical sorting uses locale-aware comparison, which generally sorts in a natural, case-insensitive-feeling order rather than strict ASCII order.