Enum SortOrder
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
UrutkanPesanan
Enumerasi yang mewakili urutan pengurutan.
Untuk memanggil enum, Anda memanggil class induk, nama, dan propertinya. Misalnya,
SpreadsheetApp.SortOrder.ASCENDING
.
Properti
Properti | Jenis | Deskripsi |
ASCENDING | Enum | Urutan pengurutan menaik. |
DESCENDING | Enum | Urutan pengurutan menurun. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 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. |"]]