sortBy Properties
Sort Behavior
Sort Flow
Basic Sort
Sort by a single column in ascending order:Multi-Column Sort
Sort by primary column, then by secondary column for rows with equal primary values:Descending Sort
Column-Level Sort
Individual columns can also specify a default sort direction via thesort column property. This is applied in addition to the global sortBy configuration.
Interactive Sort
Users can sort interactively in the sheet:
Sort state indicators appear in column headers showing the current sort direction. Multi-column sort shows small numbers indicating sort priority.