Reorder by Index List
Function Description
Reorders input data according to the provided index mapping relationship. Supports reorder operations on multi-level nested data structures.

Use Cases
Reorders original data according to input indexes. Typically used after “sorting” type steps.
Inputs
Mapping Index (Required): Index list that specifies the sorting order.
Unnamed (Required): Data to be reordered (supports 1~16 groups of data parallel input).
Outputs
Unnamed: Data arranged according to index mapping.
Parameters
Port Count (1~16)
Supports multiple groups of data for simultaneous reordering. All ports use the same index mapping relationship. Range: 1~16.
Operation Layer
Specifies the number of operation layers for the reorder operation on data.
For data structures like NumberList, StringList, Vector3DList, BoolList, IndexList, the operation layer is introduced as follows:
[Layer 1 [Layer 0 xx,xx,xx…],[Layer 0 xx,xx,xx…] ]
For PoseList, the operation layer is introduced as follows:
[Layer 1 [Layer 0[x,y,z,qx,qy,qz,w]],[Layer 0[x,y,z,qx,qy,qz,w]] ]
Examples
Operation Layer = 0 (Default)
Reorders items within the list.
Input
Original Data: [[‘A’, ‘B’, ‘C’], [‘D’, ‘E’, ‘F’]]
Index: [[2, 0, 1],[2, 0, 1]]
Output
[[‘C’, ‘A’, ‘B’], [‘F’, ‘D’, ‘E’]]
Operation Layer = 1
Reorders the Layer 1 list.
Input
Original Data: [[‘A’, ‘B’, ‘C’], [‘D’, ‘E’, ‘F’], [‘G’, ‘H’, ‘I’]]
Index: [2, 0, 1]
Output
[[‘G’, ‘H’, ‘I’], [‘A’, ‘B’, ‘C’], [‘D’, ‘E’, ‘F’]]
Operation Layer = 2
Reorders the Layer 2 list.
Input
Original Data: [[[‘A’,’B’], [‘C’,’D’]], [[‘E’,’F’], [‘G’,’H’]]]
Index: [1, 0]
Output
[[[‘E’,’F’], [‘G’,’H’]], [[‘A’,’B’], [‘C’,’D’]]]