GlideRecord - orderByDesc(String fieldName)

Specifies a field used to order the query set in descending order.

Table 1. Parameters
Name Type Description
fieldName String A field name.
Table 2. Returns
Type Description

Scoped equivalent

To use the orderByDesc() method in a scoped application, use the corresponding scoped method: Scoped GlideRecord - orderByDesc(String name).