Pages User Guide for Mac
- Welcome
- What’s new
-
- Use iCloud Drive with Pages
- Export to Word, PDF or another file format
- Open an iBooks Author book in Pages
- Reduce the document file size
- Save a large document as a package file
- Restore an earlier version of a document
- Move a document
- Delete a document
- Lock a document
- Password-protect a document
- Create and manage custom templates
- Copyright
Alphabetise or sort table data in Pages on Mac
You can sort column data alphabetically or by increasing or decreasing values. When you sort by column, the rows of the table rearrange accordingly.
Note: If the sort options aren’t available, your table might have cells merged across adjacent rows. You need to un-merge the cells to sort. Click the merged cells, then choose Format > Table > Unmerge Cells (from the Format menu at the top of your screen). If you’re not sure where the merged cells are, select the table, then choose Format > Table > Unmerge All Cells.
Text in column headers and footers isn’t sorted.
Note: The tasks below apply to a table you add to your page. They don’t apply to a page you formatted into columns.
Alphabetise or sort table data
Go to the Pages app on your Mac.
Open a document with a table, click anywhere in the table, then move the pointer over the letter above the column by which you want to sort.
Click the arrow that appears next to the column letter, then choose a sorting option:
Sort Ascending: Sort the data in alphabetical order (A to Z) or by increasing numerical values.
Sort Descending: Sort the data in reverse – alphabetical order (Z to A) or by decreasing numerical values.
In columns containing both text and numbers, ascending order sorts numbers before text (for example, 1a, 1b, 2a, a1, b1). Ascending order also places Boolean (true/false) cells after cells sorted alphabetically or numerically and places blank cells at the bottom of the column.
Tip: Table columns don’t sort independently from each other—all the cells in a row stay together when you sort a column. If you want to sort a column separately, first sort the column, then copy all the cells in that column. Then Undo the sort (to revert to the previous table sort order) and paste the copied cells back into the column.