Sortable table
Slant / Components
A data table with sortable columns and `aria-sort` on the active header.
The theme follows the link: share a page with ?theme=moon.
Usage
- Headers are buttons; the active column exposes its direction with
aria-sort.
Keyboard
| Tab | moves between column headers |
| Enter / Space | sorts by the focused column, then reverses |
Accessibility
- The sort direction is in the header state, not only the arrow.
Sortable table in React and SwiftUI.
The React tab is the component’s real source; the SwiftUI tab is its twin in TUTTNKit.