This functionality is only available for certain module packages.

You are here: Reference > Formula Language > Formulas > Collections (collections of objects) > General methods for Collections > sortedBy(Block expression)

sortedBy(Block expression)

Sorts the Collection according to the assigned expression.

sortedBy(Block expression)
Argument Block expression  
Return value Collection Sorted collection. The collection has the same type, as the collection, that sortedBy is sent to.