Sort Google Docs Table Rows Alphabetically

Use Google Docs' built-in table sort to alphabetize rows by a chosen column in seconds, preserving header rows.

What the video covers

This guide covers using Google Docs on the web to sort table rows alphabetically by a specific column. It explains ascending/descending order and how header rows are handled.

Watch the video on YouTube

Step-by-step instructions

  1. Open the document
    Open your Google Docs document that contains the table you want to sort.
  2. Place the cursor in the target column
    Click inside any cell in the column whose values you want to use for alphabetizing.
  3. Open the table context menu
    Right-click inside that cell to display the table options menu.
  4. Choose sort direction
    Select the table sort command for ascending (A→Z) or descending (Z→A) order to rearrange the table rows based on that column.
  5. Confirm header behavior
    Verify that any pinned top header row remains in place and that only the data rows below it have been reordered.

Watch the video

Video thumbnail for Sort Google Docs Table Rows Alphabetically Play tutorial

Watch on YouTube

Why it matters

Manually cutting and pasting rows is slow and error-prone. Using Docs' sort controls instantly orders your data, making lists, schedules, and directories easier to read and maintain.

Check your result

After sorting, rows should be reordered based on the selected column text. Top header row(s) you expect to stay fixed should remain unchanged while the remaining rows reorder.

Troubleshooting

If the sort option doesn't appear, ensure your cursor is inside the table cell (not selected text elsewhere). Merged cells can prevent correct sorting; unmerge them first. Blank rows or inconsistent data types (numbers vs. text) may produce unexpected ordering—clean the column values before sorting. If you need multi-column sort or more control, consider exporting to Sheets.