--- title: "Sort" slug: "common-vapidatatype-nessort" updated: 2026-09-17T09:56:55Z published: 2026-09-17T09:56:55Z 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 Classic/​VPC環境で利用できます。​ ソート基準です。 ## 構文 構文は次の通りです。 ``` private String direction; private String property; private Boolean ignoreCase; private String nullHandling; private Boolean ascending; private Boolean descending; ``` ## フィールド フィールドの詳細は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `direction` | String | Required | ソート方法 - `ASC` \| `DESC` - `ASC`: Ascending - `DESC`: Descending | | `property` | String | Required | ソート基準フィールド名 | | `ignoreCase` | Boolean | Required | ソート時に大小文字を区別するかどうか - `true` \| `false` | | `nullHandling` | String | Required | Nullの処理方法 - `NATIVE` \| `NULLS_FIRST` \| `NULLS_LAST` - `NATIVE`: データ処理ロジックに任す - `NULLS_FIRST`: Nullの値が先頭に来る - `NULLS_LAST`: Nullの値が末尾に来る | | `ascending` | Boolean | Required | ソート方法が Ascending(`ASC`)かどうか - `true` \| `false` | | `descending` | Boolean | Required | ソート方法が Descending(`DESC`)かどうか - `true` \| `false` |