Skip to content

Sort Data Table

Function Description

TIP

Sort the data table by a specified column in ascending or descending order.

Configuration Item Description

General

Command Input

  • Data Table ObjectTDataTable: Can use the variable returned by the 'Create Data Table' component.

  • Specified Column Namestring: Specify which column to sort by.

  • Sort RuleInteger: Sort by the specified column in ascending or descending order.

  • Preview in Data TableBoolean: Preview in Data Table

  • Print Component Output Variable ValueBoolean: When checked, the variable data or value generated by the component will be output and printed to the console log.

Command Output

  • Sorted DataTDataTable: Used to store the sorted data table.

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None