Skip to content

Text Sorter

Sort lines alphabetically, numerically or by length.

Options

Private by design. This tool runs entirely in your browser. Your input is processed on your own device and is not uploaded by DO101.

About the Text Sorter

Sort a list eight different ways — A→Z, Z→A, by number, by line length, reversed or shuffled — with proper natural ordering so "item 10" comes after "item 9" rather than after "item 1".

How to use it

  1. 1Paste your list.
  2. 2Choose how to sort it.
  3. 3Copy the sorted result.

What you get

  • Eight sort modes including shuffle
  • Natural ordering so item 10 follows item 9
  • Optional case sensitivity
  • Can remove duplicates while sorting
  • Runs in your browser

Frequently asked questions

What is natural ordering?

It treats digits inside text as numbers, so "file2" sorts before "file10". A plain character sort would put "file10" first, which is almost never what you want.

Is the shuffle random?

It uses a Fisher–Yates shuffle with the browser's random source, so every ordering is equally likely.

People who use this tool usually reach for these next.