Skip to content

Sorting Rule (sort) ​

Sorts the DataFrame by specified columns.

FieldDescriptionRequired
columnsArray of column names to sort byβœ… Yes
ascendingSort order (true for ascending, false for descending)❌ No (default: true)

Example: ​

json
{
    "type": "sort",
    "columns": ["timestamp", "customer_id"],
    "ascending": true
}

Behavior: Sorts data by timestamp and customer ID in ascending order.