Reorder by Index List

You are currently viewing the documentation for the latest version (2.2.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

Function

This Step reorders one or more sets of original data according to the sorted index list and outputs the adjusted data list.

function description

Usage Scenario

This Step is suitable for scenarios where multiple relevant data (such as pick points, pick point information, and numeric labels of pick points) need to be sorted simultaneously.

Usually, this Step is preceded by a Sorting Step, followed by a Step according to the actual requirement.

Input and Output

Input

Input port Data type Description

Indices

Index []

The sorted index list is input to this port. Each index corresponds to a position in the original data list.

Unnamed

Abstract []

Original data to be sorted is input to this port. If multiple sets of data need to be sorted simultaneously, multiple ports can be set, each port corresponding to a set of data to be sorted.

Output

Output port Data type Description

Unnamed

Abstract []

This port outputs data lists rearranged in index order.

Parameter Description

Parameter Description

Port Number (1–15)

Description: This parameter is used to set the number of datasets that can be sorted simultaneously.
Default value: 1
Tuning recommendation: Please adjust according to the actual number of input data sets. For example, when 3 sets of data need to be rearranged simultaneously, this parameter is set to 3.

Operation Layer

Description: This parameter specifies the layer of the data list to be reordered.

  • When the Operation Layer is set to 0, the list of outermost layers will be reordered.

  • When the operation layer is 1 or higher, this Step will sort the nesting lists at a deeper level.

Default value: 0

Tuning recommendation: If the data is a single-layer list, keep the default value of 0. If it is a nested structure, you can adjust it according to the actual data hierarchy.

Top Level

Once this option is selected, only the outermost data will be reordered, and the operation layer parameters will be hidden.
Default setting: Unselected
Tuning recommendation: If the data structure is a single layer list, it is recommended to select this option to simplify the setting.

Is this page helpful?

You can give a feedback in any of the following ways:

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.