Sort lines alphabetically

Put a list in order: A to Z, Z to A, by length or by number.

Advertisement

0 characters
0 characters

Advertisement

About this tool

Paste your lines and choose an order. Alphabetical sorting follows the rules of your browser's language settings, so accented letters sort sensibly.

Numeric sorting reads the first number on each line, so 2 comes before 10, which a plain alphabetical sort would get wrong.

When to use it

Advertisement

Questions

Why does 10 come before 2 in A to Z?

Alphabetical sorting compares characters one by one. Choose Numbers, low to high to sort by value.

Does it keep blank lines?

Blank lines are kept and sorted with the rest, so they usually end up at the top.

Is it case sensitive?

Not by default. Untick Ignore capitals to put capitals first.

More text tools

Case converters