🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
OCLOperators orderDescending
Created by Alexandra on 2017-08-13 · Last edited by Peter.byaruhanga on 2026-01-22.

Sorts from biggest to smallest.

Example

Given a class Car with Name attribute. We can use the order Descending attribute using.

Car.allInstances.orderDescending(Name)
Screenshot 2026-01-22 150849.png


See also: Orderby