Sort a List in Alphabetical Order

Paste any list and sort it A to Z or Z to A with correct handling of accented characters. Works with one item per line, commas or semicolons.

Alphabetical Sorter

Sorting that handles accents properly

Many sorting tools compare raw character codes, so accented letters end up in the wrong place. 'Émile' can land after 'Zoe' because the code for 'É' is higher than the code for 'Z'. For names of people, cities, products or any data with accents, that produces an order that makes no sense.

This tool uses JavaScript's collation API with your page language, which places accented characters right next to their unaccented equivalents. 'Émile' sits between 'Eli' and 'Emma', not at the end of the list.

When Z to A is more useful than A to Z

Reverse order is handy in specific situations: sorting software versions from newest to oldest (v3.0, v2.5, v2.0...), organizing a list of text dates where the most recent should come first, or simply checking the items at the end of the alphabet, which are easy to overlook in an A to Z list.

For name lists at ceremonies or formations, reverse order is also used to call participants from last to first. The tool switches between the two modes with one click, so you never have to paste the list again.

Working with comma- or semicolon-separated lists

Spreadsheets exported as CSV use commas or semicolons as separators. When you copy a row from a spreadsheet to sort its values, the tool needs to know which separator splits the items correctly.

Pick the right separator before pasting your content. The result is shown with the same separator as the input, so you can paste it back into the spreadsheet or source system without manual conversion.

Frequently asked questions

How does the tool handle accents when sorting?

The tool uses the localeCompare function with your page's locale, which treats accents correctly. 'Éclair' is sorted together with the words starting with 'E', and 'Çay' lands next to 'C'. This keeps the order sensible for speakers of the language.

Which separators are supported?

Three separators are supported: one item per line (default), comma and semicolon. That lets you sort vertical lists as well as horizontal ones like 'apple, banana, grape' or data exported from spreadsheets with semicolons.

Can I remove duplicates and sort at the same time?

Yes. The 'Remove duplicates' option can be used together with sorting. Duplicates are removed before sorting, and the comparison ignores capitalization, so 'Banana' and 'banana' are treated as the same item.