Sort by Two Values

You are currently viewing the documentation for version 1.7.4. To access documentation for other versions, click the "Switch Version" button located in the upper-right corner of the page.

■ To use the latest version, visit the Mech-Mind Download Center to download it.

■ If you're unsure about the version of the product you are using, please contact Mech-Mind Technical Support for assistance.

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:

Procedure of Sort by Two Values

The introduction of each steps is as follows:

  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 after sorting.

  3. Sort and StratifyBased 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.

  4. Unpack and Merge Data This step turns three-dimensional array-like variables into two-dimensional variables based on the indexes after sorting twice.

  5. 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.

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.