Sorting Rule (sort) โ
Sorts the DataFrame by specified columns.
| Field | Description | Required |
|---|---|---|
columns | Array of column names to sort by | โ Yes |
ascending | Sort 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.