Components
Console
src/components/sortable-header.tsxSortable Header
A table column heading you press to order by it. The chevron is hidden until it matters: faint on hover, solid on the sorted column. The People roster, the Fleet list, Locations, Certificates and a car’s service, inspection and incident logs all sort with it.
One column sorted
A car’s service log, newest first. Press a heading to sort by it; press it again to flip the order.
| Aug 5, 2026 | Repair | Katy Auto Care | 74,960 | $486.20 |
| Jun 16, 2026 | 5K service | Firestone | 72,410 | $89.99 |
| May 2, 2026 | Instructor brake | Brake Pros | 70,180 | $240.10 |
| Mar 12, 2026 | Tire/wheel | Discount Tire | 67,350 | $612.00 |
A number column
A right-aligned column carries its chevron on the left, so the label ends on the column’s edge above the figures. The number columns show from a tablet up, as on the Service tab.
| Mar 12, 2026 | Tire/wheel | Discount Tire | 67,350 | $612.00 |
| Aug 5, 2026 | Repair | Katy Auto Care | 74,960 | $486.20 |
| May 2, 2026 | Instructor brake | Brake Pros | 70,180 | $240.10 |
| Jun 16, 2026 | 5K service | Firestone | 72,410 | $89.99 |
Unsorted
The default: the list’s own order, and no chevron until a heading is hovered.
| Aug 5, 2026 | Repair | Katy Auto Care | 74,960 | $486.20 |
| Jun 16, 2026 | 5K service | Firestone | 72,410 | $89.99 |
| May 2, 2026 | Instructor brake | Brake Pros | 70,180 | $240.10 |
| Mar 12, 2026 | Tire/wheel | Discount Tire | 67,350 | $612.00 |
Used on
- Console
- /console/business-reporting/btw-hours/console/business-reporting/enrollment/console/business-reporting/fleet-size/console/business-reporting/payroll/console/catalog/console/catalog/contracts/[id]/console/certificates/console/financials/console/financials/balances/console/financials/earned/console/financials/refunds/console/financials/sales/console/financials/transactions/console/financials/waived-fees/console/fleet/console/fleet/[id]/console/locations/console/locations/[id]/console/locations/franchises/[id]/console/people/console/reporting/certificate-upload/console/reporting/dps-report/console/reporting/student-records