Enum SortOrder
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מיוןהזמנה
אנטומציה שמייצגת את סדר המיון.
כדי לקרוא למאפיין enum, צריך לקרוא לכיתה ההורה, לשם ולנכס שלו. לדוגמה,
SpreadsheetApp.SortOrder.ASCENDING
.
מאפיינים
נכס | סוג | תיאור |
ASCENDING | Enum | מיון בסדר עולה. |
DESCENDING | Enum | מיון בסדר יורד. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 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. |"]]