Enum SortOrder
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
SortowanieZamówienie
Wyliczenie określające kolejność sortowania.
Aby wywołać enum, wywołaj jego klasę nadrzędną, nazwę i właściwość. Na przykład:
SpreadsheetApp.SortOrder.ASCENDING
.
Właściwości
Właściwość | Typ | Opis |
ASCENDING | Enum | Sortowanie rosnąco. |
DESCENDING | Enum | Sortowanie malejąco. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eSortOrder\u003c/code\u003e is an enumeration used to represent the sort order within Google Apps Script.\u003c/p\u003e\n"],["\u003cp\u003eIt includes two properties: \u003ccode\u003eASCENDING\u003c/code\u003e and \u003ccode\u003eDESCENDING\u003c/code\u003e to define the desired sort direction.\u003c/p\u003e\n"],["\u003cp\u003eTo use it, call the parent class, name, and property, like \u003ccode\u003eSpreadsheetApp.SortOrder.ASCENDING\u003c/code\u003e.\u003c/p\u003e\n"]]],["`SortOrder` is an enumeration with two properties: `ASCENDING` and `DESCENDING`. These represent the ascending and descending sort orders, respectively. To use them, access via `SpreadsheetApp.SortOrder.ASCENDING` or `SpreadsheetApp.SortOrder.DESCENDING`. It provides a way to specify the direction for sorting data within a spreadsheet application.\n"],null,["# Enum SortOrder\n\nSortOrder\n\nAn enumeration representing the sort order.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.SortOrder.ASCENDING`. \n\n### Properties\n\n| Property | Type | Description |\n|--------------|--------|------------------------|\n| `ASCENDING` | `Enum` | Ascending sort order. |\n| `DESCENDING` | `Enum` | Descending sort order. |"]]