To sort a column alphabetically in Google Sheets, select the range you want to sort (or click any cell inside it), then choose Data > Sort range > Sort A to Z for a simple ascending sort. For more control, use Data > Sort range > Advanced range sorting options to pick the column and direction. That is the short answer; the rest of this guide covers the exact clicks, the traps that scramble your data, and what to do when the sort does not behave.
What You'll Need
- A Google account with access to Google Sheets (the free web version or the mobile app).
- A spreadsheet with data already entered, ideally with a header row.
- Edit permission on the file if it was shared with you.
Menu labels can differ slightly by version, device, or region, but the paths below match the current desktop web interface and the Android/iOS apps.
Step-by-Step
- Open your spreadsheet in Google Sheets on a computer browser. The desktop version gives you the most sorting options; mobile steps are covered later.
- Decide what to sort. If your data has a header row (for example Name, Email, Date), you will sort the whole table so rows stay together. If you only want to reorder one column and do not care about the other columns, you can sort just that column, but be aware the other columns will not move with it.
- Select the data range. Click the first cell of your table, then hold Shift and click the last cell, or drag across the range. Include the header row if you have one. Alternatively, click any single cell inside the table and Google Sheets will usually detect the surrounding block automatically.
- Open the sort menu. Go to Data > Sort range. If you selected a single cell, you may see Sort range directly; if you selected a full range, the same menu appears. Choose Sort range > Sort A to Z for a quick ascending alphabetical sort. This sorts by the leftmost column of your selection by default.
- Use advanced options for precision. For control over which column is sorted and whether headers are excluded, choose Data > Sort range > Advanced range sorting options. In the dialog, tick Data has header row if your first row contains labels. Then pick the column you want from the Sort by dropdown and choose A → Z for ascending or Z → A for descending. Click Sort.
- Check the result. Scan the first and last few rows to confirm that related data in other columns moved with the sorted column. If rows look mismatched, undo immediately with Ctrl+Z (Cmd+Z on Mac) and re-select the full range including all columns.
- Sort on mobile. In the Google Sheets app, tap the column letter to select it, then tap the three-dot menu and look for the sort option (often labelled with A–Z or an arrow icon). On Android and iOS the exact wording varies, but the action is the same: select the column, open the menu, choose ascending or descending. For multi-column sorts, the mobile app is more limited; use the desktop version for complex tables.
Common Mistakes
- Sorting only one column. If you select a single column and sort, the other columns stay put and your rows no longer match. Always select the entire table or use the header-row option.
- Forgetting the header row. If you do not tick Data has header row, your header labels get sorted into the data as if they were values, often ending up in the middle of the list.
- Hidden rows or filters. Sorting with filters applied can produce unexpected results. Clear filters first (Data > Turn off filter) so you see the full dataset.
- Merged cells. Merged cells in the range can block sorting or cause an error. Unmerge them before sorting.
- Mixed data types. Numbers stored as text sort differently from real numbers. If a column of numbers sorts oddly (1, 10, 2), convert them to numbers via Format > Number.
Tips
- Use Data > Create a filter to add dropdown arrows to your header row; you can then sort A–Z or Z–A from the filter menu without re-selecting ranges each time.
- To keep a permanent sorted view without changing the original order, create a filter view (Data > Filter views > Create new filter view) and sort inside it.
- For multi-level sorts (for example, sort by Last Name, then by First Name), use Advanced range sorting options and add a second sort column.
- If you sort often, consider converting your range to a table (Format > Convert to table) where available, as tables keep headers and formatting consistent.
- Always keep a backup copy (File > Make a copy) before sorting a large or important sheet.
Troubleshooting
If the sort does not work as expected, work through these checks in order.
- Undo immediately. Press Ctrl+Z (Cmd+Z on Mac) to restore the previous order before trying again.
- Re-select the full range. Click the top-left cell of your table and drag to the bottom-right, or press Ctrl+A (Cmd+A) to select all data, then repeat the sort with Data has header row ticked.
- Check for blank rows or columns. A blank row inside your data can make Sheets treat the range as two separate tables. Delete or fill blank rows, then sort again.
- Remove filters and filter views. Go to Data > Turn off filter and close any active filter view, then retry.
- Unmerge cells. Select the range and use Format > Merge > Unmerge.
- Refresh the page or restart the app. A stale session can cause menus to misbehave. Sign out and back in if the problem persists.
- Check permissions. If the file is shared as View only, sorting is disabled. Ask the owner for edit access.
If none of that helps, copy your data into a new sheet (File > New > Spreadsheet) and sort there to rule out corruption in the original file.
Frequently Asked Questions
How do I sort a column alphabetically without changing the rest of the sheet?
Select only that column, then use Data > Sort range > Sort A to Z. Be aware that the other columns will not move with it, so rows will no longer align. If you need the whole table to stay together, select all columns instead.
Can I sort by last name when the full name is in one column?
Not directly. Split the name into separate columns first (Data > Split text to columns), then sort by the last-name column. Alternatively, use a formula to extract the last name into a helper column and sort on that.
Why does my sort put numbers in the wrong order?
Numbers stored as text sort character by character, so 10 comes before 2. Select the column, go to Format > Number > Number to convert them, then sort again.
Does sorting in Google Sheets affect other people viewing the file?
Yes. Sorting changes the sheet for everyone with edit access. If you want a private sorted view, use a filter view instead, which only affects your own screen.
Can I sort by more than one column at once?
Yes. Use Data > Sort range > Advanced range sorting options and add additional sort columns. The first column is the primary sort; subsequent columns break ties.
Is there a keyboard shortcut for sorting?
Google Sheets does not have a default single-key sort shortcut. You can create one via Help > Keyboard shortcuts to view existing shortcuts, but sorting is normally done through the Data menu.