Skip to main content

Sort

Synopsis

This operator sorts the input data set in ascending or descending order according to several attributes.

Description

This operator sorts the data set provided at the input port. The complete data set is sorted according to a single or more attributes. The attributes to sort by are specified using the sort by parameter. For each attribute, sorting is done in ascending or descending order, depending on the setting of the sorting order parameter. The resulting data set is sorted by the first attribute, then subsets of the same value in the first attribute are sorted by the second attribute etc.

Input

example set input

This input port expects an ExampleSet.

Output

example set output

The sorted ExampleSet is the output of this port.

original

The ExampleSet that was given as input is passed through without changes.

Parameters

Sort by

This parameter is used to specify the attributes which should be used for sorting the data set and the associated sorting orders. If multiple attributs are specified, the data set is sorted by the first attribute, then subsets of the same value are sorted by the second attribute, etc.