OCLOperators orderBy
From MDrivenWiki
Sorts the collection on one or more properties
See also orderDescending
Earlier OclPs has only allowed for ordering on attributes on the class of the collection - but since extensions 2021-01-16 OclPS supports order to follow singlelinks to add attributes to ordering multiple single links steps away. Mind you that ordering on joined information reduce the result set according to the join (it is not an outer join - so data must be present in order to be included in the result set)