🚀 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 62.169.16.147 on 2026-09-12.

Sorts from biggest to smallest.

Example[edit source]

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