Sort Activity
The Sort activity enables users to arrange data within a specified dataset. It processes the dataset based on a defined sort expression, allowing for ordering in either ascending or descending sequence. This activity is crucial for organizing data for subsequent analysis or presentation.
| Field | Description | Requirement |
|---|---|---|
| Dataset name | The reference name of the dataset to be sorted. | Required |
| Sort | The expression defining the sorting logic, including the column name and sort order. | Required |
Action Types & Examples
Sort Expression
- Format: String
- Example Result:
"columnName" asc
Implementation Examples
Field Setup - Dataset name`: `newDS
Execution Parameters - Sort`: `"columnName" asc - Sort`: `"columnName" desc
Technical Notes
The sort expression must accurately reference a column within the specified dataset. Incorrect column names or malformed expressions will result in an execution error. Ensure the dataset exists and is accessible before executing the Sort activity.