Sort Lines

Alphabetize a list in your language, with ascending, descending, and natural numeric sort options.

Input

Line order

Sort up to 100,000 characters. The page language sets the alphabet.

Order settings

Result

Copy or save the sorted lines.

Add text and choose an order.

Runs in your browser. Nothing is uploaded.

Also known as: order text lines, sort list, alphabetize lines

How to use

  1. Paste a list with one item on each line.
  2. Choose a direction and set the case, accent, and number options.
  3. Sort the lines and copy or download the ordered list.

Frequently asked questions

Which alphabet does it use?

The page language determines the alphabet. On the Vietnamese page, Đ follows D when accents are not ignored.

What does numeric sorting change?

It sorts digit sequences by value, so Item 2 comes before Item 10 in ascending order.

Do case and accent settings rewrite the text?

No. They affect comparison only. Every line keeps its original spelling.

What happens to equal lines?

Lines that compare as equal keep their original relative order, even in descending mode.