Configuration
Add one or more sort columns. Each one carries its own direction, so you can sort by date descending and then by country ascending in the same step.
At least one sort column is required; the step fails if none is selected, or if a selected column is not present in the data at that point in the pipeline.
Sorting changes only row order — no rows are added, removed or recalculated.
Sorting matters when a later step depends on row order, such as Data snapshot or Publish dataset. It does not affect group or rolling-window functions in Calculate Variable, which resolve their own ordering by date and entity.
Next steps
Filter rows
Drop rows that don’t meet a condition.
Reorder columns
Change column order rather than row order.