Sort and Stratify

Function

This Step sorts and stratifies the input data according to the specified rules, moves the original indices of the data according to the sorting and stratifying process, and outputs the processed data and indices, and sort and stratification indices.

If the multidimensional data is input, each array of the last dimension of the data will be processed independently in turn.

Usage Scenario

This Step is used for multidimensional sorting. This Step can be used with other Steps to sort the specified dimension of the data.

Input and Output

The input data to be processed is shown in the table below:

Data to Be Processed

\[[30, 10, 20], [20, 10]]

Original Indices of Data

\[[4, 5, 6], [3, 2]]

The output data after processing is shown in the table below:

Processed Data

[\[[10], [20], [30]], \[[10], [20]]]

Processed Data Indices

[\[[5], [6], [4]],\[[2], [3]]]

Sort and Stratification Indices

[\[[1], [2], [0]], \[[1], [0]]]

Parameter Description

Ascending

Description: This parameter specifies whether to sort the data by ascending or descending order. Select to sort the data in ascending order, or else in descending order.

Default value: selected.

Layer Interval

Description: This parameter specifies the layer interval for the stratification. The unit is millimeters.

Default value: 50.0 mm

Starting Point of Each Stratum

Description: This parameter specifies the starting point of each stratum for the stratification.

Options: End of Previous Stratum Range, First Number of This Stratum

  • End of Previous Stratum Range: The ranges of the strata are connected end to end and do not depend on the data. There will be no spacing between strata.

  • First Number of This Stratum: Where the range of each stratum lies depends on the data. There will be spacing between strata, and the spacing will be larger if the numbers in the data are wide apart.

Default value: End of Previous Stratum Range

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.