Key points
- Pinned header rows are excluded from sorting.
- Bold text or shading does not establish the pin setting.
- Check whole-row relationships after sorting.
How can headers be kept out of a table sort?
Check whether the headers are pinned. Google’s Docs table guidance excludes pinned rows from sorting in Google Docs on a computer.
Do not infer the setting merely because the first row is bold or coloured.
How many header rows should be identified?
Google’s Docs table guidance allows a specified header-row count. Identify actual headings and where data starts instead of assuming every table needs exactly one header row.
Suppose a quotation comparison has a category row, a detailed field-name row and then supplier records. This is hypothetical. Record the heading structure and intended sortable data, avoiding accidental treatment of the first supplier record as a heading.

What should be checked beyond the first row?
We recommend sampling complete rows to confirm that names, items and notes still describe the same record, then checking whether the chosen direction serves the reading purpose. A correctly positioned heading does not verify all content.
If a colleague reports an unexpected order, retain before-and-after references plus the sort column and direction. A screenshot of only the header is insufficient evidence that the whole comparison is reliable.
Does pinning protect the contents from editing?
No. Google’s Docs table guidance describes display and sorting behaviour, not an access permission or editing lock.
If the concern is who may alter content, review sharing and permission requirements separately. Repeating headings across pages and controlling editors are different tasks.
Frequently asked questions
Are pinned headers included in the sort?
No. Google’s Docs table guidance explicitly excludes them.
Does bold text mean the row is pinned?
No. Check the pin setting rather than inferring it from typography.
Which product scenario does this cover?
Google Docs tables on a computer, as covered by Google’s Docs table guidance, not frozen rows in Google Sheets.
Does pinning stop header text being edited?
No. Pinning is not edit protection; check editing permissions separately.
What helps verify meaningful row relationships after sorting?
Sample complete names, items and notes, and record the sort column and direction rather than checking only the header.
