Skip to content

Sort Lines Alphabetically

Sort a list A–Z or Z–A with correct Turkish order (Ç after C, Ğ after G, I before İ, Ö after O, Ş after S, Ü after U), by length or by number, shuffle it, remove duplicates and number the items. The list is processed only in your browser.

Sorting happens in your browser; the list is never sent anywhere.

Sort

Alphabet

Separator

Join the result with

0 items · 1 empty lines removed

How to sort a list

  1. Paste your list, one item per line, or change the separator for comma or space separated lists.
  2. Pick A → Z, Z → A, natural number order, length, shuffle or reverse.
  3. Turn on duplicate removal, empty line removal or surname sorting if needed.
  4. Copy the result, optionally joined with a different separator.

Tips

  • For name lists turn on “Sort by surname”.
  • Use natural number order so “Item 2” comes before “Item 10”.
  • Shuffle uses the browser’s secure random generator, handy for draws and teams.

Turkish versus English order

The Turkish alphabet has 29 letters: A B C Ç D E F G Ğ H I İ J K L M N O Ö P R S Ş T U Ü V Y Z. English sorting treats ç, ğ, ö, ş and ü like c, g, o, s and u and mixes up I and İ.

Both columns below were sorted with this page’s tool.

#Turkish rulesEnglish rules
1CemCem
2ÇınarÇınar
3Işıkİlker
4İlkerIşık
5OyaÖmer
6ÖmerOya
7SelinSelin
8ŞuleŞule

Sort modes

  • A → Z and Z → A: ascending or descending with the chosen alphabet.
  • Natural number order: compares numbers as numbers: “Madde 1, Madde 2, Madde 10” instead of “Madde 1, Madde 10, Madde 2”.
  • By length: shortest first, measured in visible characters.
  • Shuffle: Fisher–Yates with the browser’s cryptographic random generator.
  • Reverse: flips the line order without sorting.

Lines starting with an emoji or symbol go to the end. Empty lines are removed and items are trimmed by default.

Removing duplicates and preparing lists

Duplicate removal keeps the first occurrence and reports how many copies were removed. With Turkish rules “IZMIR” lowercases to “ızmır”, so fix the case first with the case converter if needed.

A column copied from Excel pastes one cell per line. Clean messy lists first with the text cleaner.

Sort lines FAQ

What is the Turkish alphabet order?

A B C Ç D E F G Ğ H I İ J K L M N O Ö P R S Ş T U Ü V Y Z — 29 letters. Q, W and X are placed in their Latin positions when they appear.

Why does Excel put Ç in the wrong place?

Excel sorts by the regional setting; with English settings Ç is treated as C. Change the setting or sort here and paste back.

How do I remove duplicate lines?

Turn on “Remove duplicates”. The first occurrence stays; keep the case-insensitive option on to treat İzmir and izmir as the same.

Can I shuffle the list?

Yes, choose “Shuffle” and press “Shuffle again” for a new order. The browser’s secure random generator is used and nothing is stored.

How are lines starting with numbers sorted?

Plain A → Z compares digit by digit, so “10” comes before “2”. Natural number order sorts by value: 1, 2, 10.

Related tools