Skip to main content

sortBy Properties

Sort Behavior

Sort Flow

diagram

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 the sort column property. This is applied in addition to the global sortBy configuration.
Use the top-level sortBy for the primary sheet sort order. Use the column-level sort property when a specific column should always maintain a particular direction as a secondary sort criterion.

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.

Sort Type Behavior

Complete YAML Example

  • Columns — the sort column-level property
  • Columns — column definitions and binding paths

Last modified on July 10, 2026