Sort all valid elements according to a list of attribute values.

Parameter

Note: Because of the non-decreasing order of time in a data stream sorting is only possible inside a relation with equal start and end timestamp.Output is only created after an element is read with a higher start time stamp than the highest end timestamp!

Example

PQL
relation = ELEMENTWINDOW({SLIDE = 5, SIZE=5},  input)

/// Sort the stream by the attribute value id.
output = SORT({
                  attributes = ['id']
                 }, relation)

/// Sort the stream by the attribute id in ascending order.
output = SORT({
                 attributes = ['id'], 
                 ascending = ['true']
                }, relation)