Sort by Two Values
Input two elements with the same length, then this Procedure will sort them twice with different standards and finally output the indexes after sorting. The combination is as follows:
The introduction of each Steps is as follows:
-
Sort and Stratify Sort and classify the first group of elements with the specified layer spacing (Standard 1) and the output the index.
-
Reorder According to Given Indices Using the index of the first sorting, the software will sort the second group of elements and then output values after sorting.
-
Sort and Stratify Based on the sorted second group and the index of the first sorting, this Step would sort the second group again with the specified layer spacing (Standard 2) and output the index. With this index, the index of the first sorting is sorted again and then the indexes after sorting twice will be output.
-
Unpack and Merge Data This Step turns three-dimensional array-like variables into two-dimensional variables based on the indexes after sorting twice.
-
Unpack and Merge Data After last Step “Unpack And Merge Data”, this Step could turn the two-dimensional array-like variables into a one-dimensional array as the final output.