Enum SortOrder
SortOrder
An enumeration representing the sort order.
To call an enum, you call its parent class, name, and property. For example,
SpreadsheetApp.SortOrder.ASCENDING
.
Properties
Property | Type | Description |
ASCENDING | Enum | Ascending sort order. |
DESCENDING | Enum | Descending sort order. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-09-28 UTC.
[null,null,["Last updated 2023-09-28 UTC."],[[["`SortOrder` is an enumeration used to represent the sort order within Google Apps Script."],["It includes two properties: `ASCENDING` and `DESCENDING` to define the desired sort direction."],["To use it, call the parent class, name, and property, like `SpreadsheetApp.SortOrder.ASCENDING`."]]],[]]