Locale-aware

Sort linesGB · en-GB

Alphabetical order is not universal. This tool exposes the locale, case, natural-number, whitespace, and line-ending choices.

Options
Input lines
0
Output lines
0
Collation locale used

Locale used: en-GB. Your text stays in this tab.

Ready.

How to use it

Arrange names, labels, filenames, or plain-text lists using human-language collation instead of an unexplained ASCII order.

  1. Paste one item per line.
  2. Choose ascending, descending, length, or reverse order and adjust comparison options.
  3. Run the sort, verify the resolved locale, then copy or download the result.

Worked example

Input
item10
item2
item1
Output
item1
item2
item10

Natural-number comparison treats embedded digit sequences numerically.

Method and definitions

  • Alphabetical modes use Intl.Collator with the route locale.
  • Length modes count grapheme clusters rather than UTF-16 units.
  • When two lines compare equally, their original relative order is retained.

Limits and edge cases

  • The tool does not parse columns, CSV, dates, or headers.
  • Random shuffling is intentionally excluded because ordinary outputs must be deterministic.
  • The limit is 100,000 lines and 2 MiB of UTF-8 text.

Privacy

Sorting is local to the current tab. Input is not sent to a server or placed in automatic storage.