Line Sorter

Sort lines alphabetically, by length, by number, in reverse or at random, with proper Turkish letter order.

Sort by
Letter order
Your lines

Turkish treats ı and i as two different letters and sorts ı first, and it gives ç, ğ, ş, ö and ü their own places right after c, g, s, o and u.

Sorted (0)

How to Sort a List of Lines

1

Paste your lines

One item per line. Names, filenames, URLs, log entries or a column copied out of a spreadsheet.

2

Pick the sort

Alphabetical handles most cases. Numeric reads the first number it finds on each line, which is what you want for a list like item 2, item 10.

3

Set the letter order

Turkish and English sort differently, and it is not a small difference. Choose the language of your list so ç, ğ, ı, ö, ş and ü land where a reader expects.

Features

Alphabetical in both directions
By length, shortest or longest first
Numeric sorting that finds the number inside the line
Reverse the current order without sorting
Random shuffle with a reshuffle button
Turkish and English collation
Case sensitive option and space trimming
Free, browser based, no sign-up

Frequently Asked Questions

Because Turkish has letters English does not, and one of them changes the order. Under Turkish rules ı is its own letter and comes before i, so ışık sorts before incir. Under English rules ı is treated as a variant of i and ışık lands after it. The dotted and dotless i are a real distinction in Turkish, not an accent.

It finds the first number on each line and sorts by its value, so item 2 comes before item 10 instead of after it. Lines with no number go to the end.

Yes. The comparison is numeric aware, so file2 sorts before file10 even in alphabetical mode. This is the behaviour people expect and the one a plain character comparison gets wrong.

With it off, Apple and apple are treated as the same word and their relative order is left alone. With it on, they sort into separate positions. Off is usually what you want for a human readable list.

It uses a Fisher Yates shuffle, so every ordering is equally likely. Press shuffle again for a different one.

Run our duplicate line remover first, then sort the result. Keeping the two steps separate means you can see how many duplicates there were before they disappear.

Only if you turn off the drop empty lines option. By default they are removed, because a sorted list with a block of blank lines at the top is rarely what anyone wants.

No. Sorting happens in this tab and the text never goes anywhere.

Need a Custom Tool or Application?

We build production-grade web applications, SaaS platforms, and developer tools. Let's talk about your project.

or book a free call