Sort

../_images/sortnodeicon.png

Sort Node icon

The Clario Sort node is used to sort data by a given attribute or attributes in ascending or descending order where the given attributes can be either numeric or string. The node connector can be connected to a variety of nodes, (e.g. Read File, Outliers, Missing, etc.), but requires a valid stream of data.

Configuration

The Sort node has only one configuration tab.

Configuration Tab

The configuration tab contains an Available Attributes and a Selected Attributes list box. The Available Attributes list box displays all of the attributes for the input data stream connected to the input link node connector. To configure the Sort node, first select, drag and drop the desired attributes to sort the data from the Available Attributes list box to the Selected Attributes list box. At least one attribute must be placed in the Selected Attributes list. To change the sort order of each attribute, click on the attribute’s current sort order in the Selected Attributes list box, and choose the correct sort order from the resulting dropdown box. The default sort order is ascending.

../_images/sortconfiguration.png

Configuration Tab

Data will be sorted based on the order of the selected attributes. For example the data will first be sorted by the first attribute listed, and then the data will be sorted within each value of the first attribute by the next selected attribute, and so on. Attributes in the Selected Attributes list can be re-ordered by clicking and holding on an attribute and dragging it to the desired position within the Selected Attributes box. See tips on Finding and Selecting Attributes.

Note

All attributes are passed through the sort node, including those attributes used in the sort.

Results

There are no results for the Sort node. It is assumed the Sort node will be connected to another node that requests or requires sorted data.

Output Stream

The newly sorted dataset is ready for immediate use in various nodes located throughout Clario. The data can also be exported using the Write File node and can then be used again by reading in the file with the Read File node.

Table Of Contents

Previous topic

Score

Next topic

Transform