Sort by Three Values

Input two elements with the same length, then Mech-Vision would sort them three times with different standards and finally output the indexes after sorting. The combination is as follows:

3d sort procedure 3d sort

The functions of each Steps are described below:

  1. Sort and Stratify Sort and classify the first group of elements with the specified layer spacing (Standard 1) and the output the index.

  2. 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 of the second group after sorting.

  3. Reorder According to Given Indices Using the index of the first sorting, Mech-Vision would sort the third group of elements and then output values of the second group after sorting.

  4. Sort and Stratify Based on the sorted second group (Input 1) and the index of the first sorting (Input 2), this step would sort and classify Input 1 again with the specified layer spacing (Standard 2). This step outputs the index after sorting twice (Output 2) and the index of the second sorting (Output 3).

  5. Reorder According to Given Indices Using the index of the second sorting, Mech-Vision would sort the second group of elements again and then output values of the third group after sorting twice.

  6. Sort and Stratify Based on the third group after sorting twice (Input 1) and its index (Input 2), this step would sort and classify Input 1 again with the specified layer spacing (Standard 3). This step outputs the index after sorting three times.

  7. Unpack and Merge Data This step turns four-dimensional array-like variables into three-dimensional variables based on the indexes after sorting three times.

  8. Unpack and Merge Data After last step “Unpack And Merge Data”, this step could turn the three-dimensional array-like variables into two-dimensional variables.

  9. Unpack and Merge Data After last step “Unpack And Merge Data” twice, this step could turn the two-dimensional array-like variables into a one-dimensional array as the final output.

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.