Sort
This operation is a placeholder and is currently disabled. It may be available in future releases.
The Sort operation allows you to sort your entities based on specific field values. This operation is applied during the query phase and helps organize your data in a specific order before further processing.
Overview
The Sort operation enables you to:
- Sort entities by specific field values
- Apply ascending or descending sort order
- Configure different sorting for different entity types
- Sort data before transformation operations are applied
Configuration
This operation appears to sort entities based on field values. The implementation example shows sorting by username in descending order (-1).
Examples
Basic Sorting
To sort all entities by username in descending order:
- Add the Sort operation to your rule
- The operation will sort all entities by the username field in descending order (Z to A)
Configuration Structure
The sort operation creates a configuration structure like:
Where:
$allindicates the sorting applies to all entitiesusernameis the field to sort by-1indicates descending order (1 would indicate ascending order)
This operation helps ensure your data is organized in a predictable order before applying other transformations, which can be important for consistency in downstream operations.