How to Alphabetize a List — Online, in Word, Excel and More

Alphabetizing a list seems like something you would never need a tool for — until you have 200 product names, 500 keywords, or a long reference list that needs to be sorted and you realise doing it manually is impractical. Whether you are preparing a bibliography, organising a keyword list, sorting a menu, or cleaning up data, having a reliable way to sort text alphabetically saves significant time.

Sort any list alphabetically in one click with our free List Alphabetizer tool. For removing duplicates before sorting, use our Duplicate Lines Remover first. For randomising a sorted list, our List Randomizer shuffles it back. For reversing the list order, use our Reverse List tool.

Alphabetizing in Different Applications

Microsoft Word

Select the list you want to sort. Go to Home → Paragraph section → Sort button (the AZ icon with a down arrow). In the Sort Text dialog: Sort by Paragraphs, Type Text, and choose Ascending (A to Z) or Descending (Z to A). Click OK. Word sorts the selected list in place. This works for bulleted lists, numbered lists, and plain paragraphs equally. For tables, click anywhere in the table, then Table → Sort.

Google Docs

Google Docs does not have a built-in sort for regular text lists. Options: use the Sorted Paragraphs add-on from the Google Workspace Marketplace (free, adds a sort option to the Add-ons menu), copy your list to Google Sheets and sort there, or paste into our List Alphabetizer tool and copy the sorted result back.

Microsoft Excel and Google Sheets

In Excel: select the column, go to Data → Sort A to Z (ascending) or Sort Z to A (descending). For multi-column data, use Data → Sort and add multiple sort levels. In Google Sheets: select the column, Data → Sort sheet by column A (A to Z). For data with headers, choose Data → Sort range → tick "Data has header row."

Command Line

Unix/Linux/Mac: sort filename.txt sorts alphabetically by default. sort -r filename.txt sorts in reverse. sort -f filename.txt sorts case-insensitively. sort -u filename.txt sorts and removes duplicates simultaneously. Windows Command Prompt: sort filename.txt > sorted.txt

Programming

Python: sorted(my_list) returns a new sorted list. my_list.sort() sorts in place. For case-insensitive sort: sorted(my_list, key=str.lower). JavaScript: myArray.sort() sorts alphabetically (but has quirks with numbers). myArray.sort((a,b) => a.localeCompare(b)) does proper locale-aware string comparison. For case-insensitive: myArray.sort((a,b) => a.toLowerCase().localeCompare(b.toLowerCase())).

Alphabetize any list instantly — ascending or descending, case-sensitive or not

Try List Alphabetizer Free →

Frequently Asked Questions

In formal bibliography and library cataloguing, yes — titles like 'The Great Gatsby' are alphabetized under G, ignoring the initial 'The'. This is called filing under the significant word. In most general-purpose sorting tools, including ours, the sort is done on the full string including articles. If you want to sort a list of titles ignoring initial articles, remove the articles before sorting or sort by a separate key field that excludes them.
To alphabetize a list in Microsoft Word, select the list you want to sort, go to the Home tab, click the Sort button, choose Text and Ascending, then click OK. Word will arrange the selected list from A to Z.
To alphabetize a list in Google Docs, install the Sorted Paragraphs add-on from Extensions, then select your list and choose Extensions → Sorted Paragraphs → Sort A to Z. This will organize your list alphabetically.
To alphabetize a list in Excel, select the cells containing your list, go to the Data tab, and click Sort A to Z. Excel will reorder the selected items alphabetically from A to Z.
If the list starts with numbers followed by items, sorting alphabetically will sort numerically first (since digits come before letters in ASCII). To sort the items regardless of their numbers: remove the numbers, sort, then renumber. Or if the numbers should stay with their items and the list should be sorted by the text part, sort by a secondary column in Excel or Sheets with the text content isolated in a separate column.
Ascending alphabetical order goes A to Z — the default and most common sort direction. Descending goes Z to A, which is useful for finding the most recently added items in time-stamped lists (if timestamps sort to the end), for reverse-engineering a sort, or simply when Z to A makes more sense for your specific use case. Our List Alphabetizer supports both directions.
Standard ASCII-based alphabetical sorting treats uppercase letters (A-Z, codes 65-90) as coming before lowercase letters (a-z, codes 97-122), so 'Apple' would sort before 'apple'. Case-insensitive sorting ignores the difference between upper and lowercase for comparison purposes, so 'apple', 'Apple', and 'APPLE' are treated as equivalent and their relative order depends on which appears first in the original list. Our tool performs case-insensitive alphabetical sorting by default for the most natural result.
Scroll to Top
Checker Tools