Google Docs can alphabetize the rows of a table on its own (right-click the table and choose Sort table), but it still has no sort command for ordinary lines, paragraphs or bulleted lists. For those, copy the list into Google Sheets and sort it there, or install a sorting add-on from Extensions > Add-ons > Get add-ons.
The steps below are for Google Docs in a web browser on a Windows PC, Mac or Chromebook. Google lists table sorting as a computer feature, so if you’re on a phone, see the mobile section near the end.
Choose a method for your list
| What you’re sorting | Best method | Needs an add-on? |
|---|---|---|
| Rows in a table (a class list, glossary table, price list) | Sort table, built into Docs | No |
| A plain or bulleted list you sort once in a while | Copy it to Google Sheets, sort, copy it back | No |
| Lists or reference entries you sort often | A paragraph-sorting add-on (check its recent reviews first) | Yes |
| Five or six items | Move them by hand with cut and paste | No |
Sort a table in Google Docs
If your list is in a table, this is the quickest route and doesn’t involve any other app. Sorting moves whole rows, so everything in a row stays together.
- Open the document in Google Docs on your computer.
- Protect your header row first. If the table’s top row holds column titles such as Name and Phone, right-click that row and choose Pin header up to this row. Google notes that pinned rows aren’t sorted, so the titles stay at the top.
- Right-click a cell in the column you want to sort by. For a table of names and phone numbers, right-click in the Name column.
- Choose Sort table.
- Pick Sort table in ascending order for A to Z, or Sort table in descending order for Z to A. The rows rearrange right away.
There’s also a shortcut on the table itself: hover over the top row, click the Sort control that appears, and choose Sort ascending or Sort descending. Google’s Add and edit tables help page describes both routes.
If you’re building the table as you go, you can add rows to a table in Google Docs at any point and sort again afterward. If you’ll re-sort a list often, keeping it in a one-column table makes each re-sort a single right-click.
Alphabetize a list with Google Sheets (no add-on)
This works for any plain or bulleted list and doesn’t require installing anything. You’ll copy the list out, sort it in a spreadsheet, and paste it back in order. Once a to-do list is sorted, you can select it and press Ctrl + Shift + 9 to turn it into a Google Docs checklist with boxes you can tick.
- Select the list in your document and copy it with Ctrl + C (⌘ + C on a Mac). Make sure each item is its own line, meaning you pressed Enter after it.
- Open a blank spreadsheet. In Google Drive, select New > Google Sheets, or open an existing spreadsheet and add a new sheet.
- Click cell A1 and paste. Each line from the document should land in its own row in column A.
- Right-click the letter A at the top of the column and choose Sort sheet A to Z (or Sort sheet Z to A). The items are now in order.
- Copy the sorted cells. Select from A1 down to the last item and press Ctrl + C.
- Go back to the document, select the original list and paste over it. Paste with Ctrl + Shift + V (⌘ + Shift + V), which is Docs’ paste without formatting, so the items come in as plain lines that match the surrounding text. If they arrive as a one-column table instead, you can keep the table (and use Sort table next time) or press Ctrl + Z to undo the paste.
- Reapply bullets or numbering if needed. Select the pasted lines and click the bulleted or numbered list button on the toolbar. A numbered list renumbers itself from 1 in the new order.
If the list has a title line above it, leave the title out of the copy, or it will be sorted along with the items. If you sort a list with a header in Sheets, use Data > Sort range > Advanced range sorting options and check Data has header row instead of the right-click menu, so the header stays in row 1. Google’s help page on sorting and filtering data in Sheets covers the other sort options.
Sort names by last name
Every method here sorts by the first characters of each item, so “Priya Shah” files under P. To sort by surname, you have two simple options:
- Write the names surname first. A list typed as “Shah, Priya” and “Lee, Jordan” sorts correctly with any method. This is also the usual format for reference lists.
- Use a two-column table. Put first names in one column and last names in the next, then right-click in the last-name column and use Sort table. If the names are already in one column, paste them into Google Sheets, choose Data > Split text to columns (the separator can be a space), sort by the column that holds the last names with Advanced range sorting options, and copy both columns back.
Names with middle names or two-word surnames won’t split cleanly on a space, so check the result before you rely on it.
Use a sorting add-on
If you alphabetize lists, glossaries or reference entries regularly, an add-on saves the trip to Sheets. Add-ons are made by other companies or independent developers, not Google. One add-on often suggested for this job is Sorted Paragraphs, which its Google Workspace Marketplace listing describes as sorting paragraphs, lists and bibliographies in alphabetical or reverse alphabetical order (it doesn’t sort tables). However, many recent reviews on that listing say its menu now shows only a Help option and no longer sorts, and the listing hasn’t been updated since 2022, so read the latest reviews before you install it or any other sorting add-on. If an add-on doesn’t work for you, the Google Sheets method above always does.
Before you install: the Marketplace listing shows what an add-on can access. For Sorted Paragraphs, that includes viewing and managing the documents it’s installed in and seeing your Google Account email address and personal info. If you’re on a work or school account, your administrator may not allow add-ons, and the Get add-ons option may not let you install it.
- Open the document and select Extensions > Add-ons > Get add-ons. The Google Workspace Marketplace opens in a window over your document.
- Search for Sorted Paragraphs and click it to see its description, permissions and reviews.
- Click Install, then Continue. Choose your Google account if asked, read the access request, and click Allow. Click Done when it finishes.
- Select the lines you want to sort. Select only the items, not the heading above them.
- Open Extensions > Sorted Paragraphs and choose the A to Z or Z to A option. If the menu shows only Help, the add-on isn’t working: uninstall it (steps below) and use the Google Sheets method instead.
Older instructions tell you to open an “Add-ons” menu at the top of the screen. That menu was folded into Extensions, so look there. If you don’t see Add-ons under Extensions at all, Google says you’re probably editing a Microsoft Word file in Office compatibility mode; save it as a Google Docs file first (File > Save as Google Docs) and try again.
To stop using an add-on later, select Extensions > Add-ons > Manage add-ons, click Options next to it, and choose Uninstall.
Problems you might hit
- Two items stuck together. If you started a new line with Shift + Enter instead of Enter, Docs treats both lines as one paragraph and they move together. Put each item in its own paragraph before sorting.
- Sub-bullets ended up in the wrong place. Sorting doesn’t understand that an indented item belongs to the line above it. Sort each level separately, or move the list into a table with the main item and its details in the same row.
- A heading or blank line jumped to the top. It was included in the selection. Undo, then select only the list items.
- “The” or “A” changed the order. Sorting is literal, so “The Lantern Cafe” files under T. Rewrite the item (“Lantern Cafe, The”) if you want it under L.
- The order looks wrong after pasting back from Sheets. Check that you pasted over the old list rather than next to it, so you don’t end up with two copies.
Any sort can be reversed right away with Ctrl + Z (⌘ + Z on a Mac). If you notice the problem much later, click Last edit at the top right of the document (Google’s version history), choose an earlier version, and select Restore this version.
Alphabetizing on a phone or tablet
Google’s table-sorting instructions are listed for Docs on a computer, and add-ons are installed and run from the desktop Extensions menu, so neither is a reliable option in the Google Docs app. The practical choices are to wait until you’re at a computer, sort a short list by hand, or paste the list into the Google Sheets app, which has its own sort options for a column, and copy it back.
Common questions about alphabetizing in Google Docs
Can I sort a whole document into alphabetical order?
Only paragraph by paragraph. A sort treats each paragraph as one item, so it works for lists, glossaries and reference entries, but it would scramble ordinary prose. Sort just the section that’s a list.
How do I alphabetize a bibliography or works cited page?
Make sure every entry is one paragraph, then use the Sheets method or an add-on. Once the entries are in order, you can give them the standard look by learning how to indent the second line in Google Docs (a hanging indent).
Is it easier in Microsoft Word?
Word has a built-in Sort button on the Home tab that works on plain paragraphs, so if you already use Word, you can sort a list alphabetically in Word without any add-on. In Google Docs, the built-in option is limited to tables.
If you keep a list you’ll need to re-sort, put it in a table now. Next time it’s just a right-click and Sort table.
Matthew Burleigh has been a freelance writer since the early 2000s. You can find his writing all over the Web, where his content has collectively been read millions of times.
Matthew received his Master’s degree in Computer Science, then spent over a decade as an IT consultant for small businesses before focusing on writing and website creation.
The topics he covers for MasterYourTech.com include iPhones, Microsoft Office, and Google Apps.
You can read his full bio here.