2D Sorting¶
Input two elements with the same length, then Mech-Vision would 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, Mech-Vision would 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 are generated.
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.