--- title: "Sort" slug: "common-vapidatatype-nessort" updated: 2026-09-17T09:30:32Z published: 2026-09-17T09:30:32Z canonical: "api.ncloud-docs.com/common-vapidatatype-nessort" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # Sort Available in Classic and VPC This is a sorting criteria. ## Syntax The syntax is as follows. ``` private String direction; private String property; private Boolean ignoreCase; private String nullHandling; private Boolean ascending; private Boolean descending; ``` ## Field The following describes the fields. | Field | Type | Required | Description | | --- | --- | --- | --- | | `direction` | String | Required | Sort direction - `ASC` \| `DESC` - `ASC`: ascending - `DESC`: descending | | `property` | String | Required | Sorting criteria field name | | `ignoreCase` | Boolean | Required | Whether to be case sensitive when sorting - `true` \| `false` | | `nullHandling` | String | Required | Null handling method - `NATIVE` \| `NULLS_FIRST` \| `NULLS_LAST` - `NATIVE`: Leave it to the data processing logic - `NULLS_FIRST`: Null values are pushed forward - `NULLS_LAST`: Null values are pushed back | | `ascending` | Boolean | Required | Whether the sort direction is ascending (`ASC`) - `true` \| `false` | | `descending` | Boolean | Required | Whether the sort direction is descending (`DESC`) - `true` \| `false` |