🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
OCLOperators orderDescending
This page was 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)
Error creating thumbnail: File missing


See also: Orderby