Google Docs can sort table rows, but a header should remain a label rather than become another sorted record. Pin the header rows before sorting so the table’s meaning stays clear.
Protect the header region
- Click in the table and open Table options.
- Under Row, enable Pin header row(s) and specify the appropriate count.
- Confirm that only the intended heading rows are pinned.
- Inspect the field that should determine the sort order.
Google states that pinned header rows are not sorted. This is different from manually coloring the top row, which changes its appearance without establishing the same sorting behavior.
Apply the sort
Right-click the table and choose Sort table, then the ascending or descending option. The table’s top-row controls also provide sorting commands. Check which column or field the selected control uses before confirming.
For dates or numbers, inspect inconsistent formats first. Text that only resembles a date may not sort into the meaningful chronological order you expect. Do not treat a completed sort as proof that the underlying values are standardized.
Verify complete records
Check the first and last data rows and several middle rows. Read across each record to confirm its values remain associated. The header should still be at the top and describe the correct columns.
Update any narrative that depends on the old row order. If the result is wrong, undo immediately and correct the sort selection or source values. For critical comparisons, preserve a reference copy so you can verify both the order and the integrity of each record before delivery.
References
Reviewed against the linked official product guidance on November 3, 2026. Features, limits, screen labels, and access can vary by account, platform, region, and organization policy.