SortOrder
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Enum |
SORT_ORDER_UNSPECIFIED |
ค่าเริ่มต้นสำหรับช่องที่ยังไม่ได้ตั้งค่า โปรดอย่าใช้ |
ASCENDING |
จัดเรียงค่ามิติข้อมูลหรือค่าเมตริกตามลําดับจากน้อยไปมาก |
DESCENDING |
จัดเรียงค่ามิติข้อมูลหรือค่าเมตริกตามลําดับจากมากไปน้อย |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-21 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-08-21 UTC"],[[["\u003cp\u003eThe default value for sorting is \u003ccode\u003eSORT_ORDER_UNSPECIFIED\u003c/code\u003e but should not be used.\u003c/p\u003e\n"],["\u003cp\u003eSorting can be applied to either dimension values or metric values.\u003c/p\u003e\n"],["\u003cp\u003eTwo sorting options are available: \u003ccode\u003eASCENDING\u003c/code\u003e to sort values from lowest to highest and \u003ccode\u003eDESCENDING\u003c/code\u003e for the reverse.\u003c/p\u003e\n"]]],["The core content defines sorting options for data. `SORT_ORDER_UNSPECIFIED` is a placeholder for unset fields and should be avoided. `ASCENDING` sorts data values in increasing order, while `DESCENDING` sorts in decreasing order. These options apply to both dimension values and metric values within a dataset.\n"],null,["# SortOrder\n\nThe sorting order.\n\n| Enums ||\n|--------------------------|-----------------------------------------------------------|\n| `SORT_ORDER_UNSPECIFIED` | Default value for an unset field. Do not use. |\n| `ASCENDING` | Sort dimension value or metric value in ascending order. |\n| `DESCENDING` | Sort dimension value or metric value in descending order. |"]]