Skip to main content

DigitalCalculators.net

Alphabetical Order

Last updated By the DigitalCalculators.net team Free, no sign-up

Paste a list and put it in alphabetical order, A to Z or Z to A. Remove duplicates, ignore The and A at the start, and sort numbers the natural way.

Results

Sorted list
ItemValue
Sorting uses your browser’s language-aware comparison (Intl.Collator) in English, so capital and small letters sort together, accented letters sit next to their plain letters, and numbers inside words sort by value (2 before 10). Nothing is sent or saved.

Quick Answer

Paste your list, one item per line, and it is sorted from A to Z straight away. Capital and small letters sort together, so Apple and apple sit side by side, and numbers sort by value, so 2 limes comes before 10 lemons. Choose Z to A to reverse, or Remove duplicates to drop repeats. Then press Copy.

Last updated: 15 November 2026 ·How we calculate this: how the list is sorted

How This Alphabetical Order Tool Works

Putting a long list in alphabetical order by hand is slow and easy to get wrong. Paste names, words, titles or any list here and it is sorted at once. You can split items by lines, commas or spaces, sort A to Z or Z to A, and tidy the list by removing duplicates.

Options:

  • A to Z or Z to A: ascending or descending order.
  • Separators: new lines, commas or spaces.
  • Remove duplicates: repeats are dropped, ignoring capital letters.
  • Ignore The, A and An: sort titles like a library catalog.

How to Use the Alphabetical Order

  1. Paste your list into the box.
  2. Choose how items are separated.
  3. Choose A to Z or Z to A.
  4. Choose whether to remove duplicates and ignore The, A and An.
  5. Copy the sorted list.

How the List Is Sorted

  • Letter by letter: items are compared from the first letter on; the first difference decides the order.
  • Case: Apple and apple are treated as the same letters.
  • Accents: é sorts with e, so café sits next to cafe.
  • Numbers: digits inside items are compared as whole numbers, so 9 comes before 10.
  • Articles: with the option on, The Hobbit sorts under H.

Key Terms

  • Ascending order: A to Z, or smallest to largest.
  • Descending order: Z to A, or largest to smallest.
  • Natural sort: sorting where numbers in text are read as values.
  • Collation: the rules a language uses to order text.

Worked Example

Sort this list: banana, Apple, cherry, mango, apple, 10 lemons, 2 limes.

  • Items starting with digits come first, in number order: 2 limes, 10 lemons.
  • Then letters: Apple, apple, banana, cherry, mango.
  • With Remove duplicates, the second apple is dropped: 6 items remain.
  • Z to A reverses the order: mango first, 2 limes last.

Real-Life Examples

  • Class lists: sort 28 student names for a register.
  • Bibliographies: order references by author's last name.
  • Glossaries: alphabetize 40 terms for a report.
  • Shopping lists: remove repeated items and sort them.

Alphabetical vs Natural Number Order

  • Plain character order: compares digit by digit, so 10 comes before 2.
  • Natural order (this tool): reads numbers as values, so 2 comes before 10.
  • Why it matters: file names like photo2 and photo10 sort the way people expect.

Sorting Examples

ItemsSorted A to Z
10, 9, 1009, 10, 100
apple, Banana, Appleapple, Apple, Banana
cafe, café, cabcab, cafe, café
The Zoo, Apple Pie (ignoring The)Apple Pie, The Zoo

Tips for Sorting Lists

  • Names: to sort by last name, write names as Last, First.
  • Book and film titles: turn on Ignore The, A and An.
  • Spreadsheet columns: copy a column and paste it; each cell becomes one line.
  • Check spacing: extra spaces at the start of an item are removed before sorting.

Common Mistakes to Avoid

  • Mixing separators. Choose the separator your list actually uses.
  • Expecting case-sensitive order. Capitals sort with small letters here.
  • First names when you need last names. Rewrite as Last, First.
  • Forgetting duplicates. Turn on Remove duplicates to clean the list.
  • Hidden blank lines. They are ignored automatically.

Frequently Asked Questions

Paste the list, one item per line. It is sorted A to Z straight away.

Yes. Choose Z to A under Order.

Yes. Choose Remove duplicates; repeats are dropped, ignoring capital letters.

By value, so 2 comes before 10.

Yes. Choose Commas under separators.

Yes. Choose Ignore The, A and An.

No. Sorting happens in your browser.

Yes. Accented letters sort next to their plain letters.

Write each name as Last, First, then sort.

Thousands of items work in a modern browser.

Digits come before letters in alphabetical order, so items that start with a number, such as 2 limes, are listed before items that start with a letter.

They are treated as equal and stay in the order you typed them. Turn on Remove duplicates to keep only the first one.

Yes. Choose Spaces under separators to sort every word in a line of text, which is handy for spelling lists.

Yes. Paste a bulleted or numbered list; each line becomes one item. Remove bullet symbols first if you do not want them sorted as part of the text.

Put each reference on its own line, starting with the author's last name, then sort A to Z. The tool ignores capital letters and keeps numbers in natural order.

References & Sources

SourceUsed ForLink
MDN Web Docs, Intl.Collator Language-aware text comparison used for sorting. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Collator
Unicode Technical Standard #10, Unicode Collation Algorithm Rules for ordering text with accents and case. https://www.unicode.org/reports/tr10/
Cite or share this calculator

DigitalCalculators.net. (2026, November 15). Alphabetical Order. https://digitalcalculators.net/alphabetical-order/