🚀 Welcome to MDriven Learn –  Don’t miss the latest Release Notes.
OCLOperators orderDescending

It sorts from biggest to smallest.

Example

Given a class Car with a Name attribute, we can use the order Descending attribute as follows:

Car.allInstances.orderDescending(Name)
Error creating thumbnail: File missing


See also: Orderby