Sort Data in a MS Word Table

Last Updated : 11 Apr, 2026

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.
Screenshot-2025-09-05-120608
  • Enter data (e.g., names, dates, or numbers) into the table cells.
Screenshot-2025-09-05-121059

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.
Screenshot-2025-09-05-123946

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).
    Screenshot-2025-09-05-125358
  • 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.
Screenshot-2025-09-05-125456

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.
Screenshot-2025-09-05-125816
  • Adjust column widths or text alignment via Table Tools > Layout > Alignment.
Screenshot-2025-09-05-130023
These are the tools for Alignment

Update Data:

  • Add or edit data, then re-sort if needed by repeating the sort process.
Comment