# 10.12 Keep the header and sort state visible

> Chapter 10, Data and dashboards. Section: Tables. Guide: https://www.designguide.dev/md/10-data-and-dashboards.md#keep-the-header-and-sort-state-visible

Default · Adapts

**Rule:** Keep the header row in view as the table scrolls, and show the sort state.

**Wide screen:** On a wide screen, keep the first column fixed too, and let a press on a header sort the column. (Triggers: Fine pointer, Dense data)

**Why:** People lose the column names after a few rows. A sort state explains the row order.

- Make each sortable header reachable by keyboard.
- Let a second press flip the direction.
- Keep a fixed first column on a sideways scroll ([10.21](https://www.designguide.dev/r/turn-a-wide-table-into-phone-rows.md)).

**Picture:** Do: An arrow marks Late (min) as the sorted column. Don't: Nothing shows how the rows are sorted. Figure: Late orders on a phone, header with a sort arrow.

**See:** [10.21 Turn a wide table into phone rows](https://www.designguide.dev/r/turn-a-wide-table-into-phone-rows.md)
