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
- Paste your list, one item per line, or change the separator for comma or space separated lists.
- Pick A → Z, Z → A, natural number order, length, shuffle or reverse.
- Turn on duplicate removal, empty line removal or surname sorting if needed.
- 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 rules | English rules |
|---|---|---|
| 1 | Cem | Cem |
| 2 | Çınar | Çınar |
| 3 | Işık | İlker |
| 4 | İlker | Işık |
| 5 | Oya | Ömer |
| 6 | Ömer | Oya |
| 7 | Selin | Selin |
| 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
Text Cleaner
Remove extra spaces, empty lines, line breaks, emoji and invisible characters in one click and fix copied text instantly.
Word Counter
Paste your text to see words, sentences, paragraphs and reading time instantly. Handles Turkish apostrophes correctly; your text stays on your device.
Text Repeater
Repeat a word, emoji or sentence as many times as you like, join the copies with a space, new line or custom separator and copy in one click.
Case Converter
Convert text to UPPERCASE, lowercase, Title Case or Sentence case, with correct Turkish İ/ı handling, and copy it in one click.