Sorting data in a table means arranging rows based on one or more columns in ascending or descending order. Microsoft Word’s sorting feature helps organize text, numbers, or dates for better clarity and usability.
Key Features
- Flexible Sorting: Sort by one column or multiple columns (e.g., sort by name, then date).
- Customizable Criteria: Sort alphabetically, numerically, or chronologically.
- Preserves Table Structure: Maintains row integrity during sorting.
Example: Sort a table of employee names alphabetically or a sales table by revenue in descending order.
Steps to Sort Data in a Table
Step 1. Create or Select a Table
Insert a Table:
- Go toInsert > Table and create a table with desired rows and columns.

- Enter data (e.g., names, dates, or numbers) into the table cells.

Select the Table:
- Click the table’s handle (top-left corner) or drag to select all cells.
Step 2. Sort the Table
Access Sort Options:
- Select the table or specific rows to sort.
- Go to Table Tools > Layout (appears when the table is selected) > Data group > Sort.

Configure Sort Settings:
- In the Sort dialog box:
- Sort by: Choose the primary column to sort.
- Type: Select Text, Number, or Date based on the column’s content.
- Order: Choose Ascending (A-Z, 1-9) or Descending (Z-A, 9-1).

- Add secondary or tertiary sort levels (optional) using Then by fields for multi-column sorting.
- Check Header Row if the table has headers to exclude them from sorting.
- Click OK to apply the sort.

Step 3. Verify and Adjust Sorting
- Check Results: Review the table to ensure rows are sorted correctly (e.g., names in alphabetical order).
- Undo if Needed: Press Ctrl+Z (Windows) or Command+Z (Mac) to revert the sort if incorrect.
Step 4. Format and Manage Sorted Tables
Apply Formatting:
- Use Table Tools > Design to add borders, shading, or styles for clarity.

- Adjust column widths or text alignment via Table Tools > Layout > Alignment.

Update Data:
- Add or edit data, then re-sort if needed by repeating the sort process.