# 데이터 명령 - 정렬

정렬 명령을 사용하여 오름차순, 내림차순 또는 토글을 포함하여 테이블의 데이터를 필드 중 하나로 정렬합니다.

![](/files/wPWM25r8JwSdhDd6dM1D)

## 정렬 기준&#x20;

정렬할 테이블을 선택한 후 새 조건을 클릭하여 정렬 기준을 추가하여 여러 정렬 기준을 추가합니다.

정렬 조건을 선택하고 \[조건 삭제]를 클릭하여 삭제합니다. 정렬 기준을 위 또는 아래로 이동하려면 클릭합니다.![](https://help.grapecity.com.cn/download/thumbnails/72354125/image2018-12-18_14-21-41.png?version=1\&modificationDate=1648092555000\&api=v2)

![](/files/RhF5Y690Qi28evzOeQ88)

## 정렬 기준 설정&#x20;

정렬 조건에서 여러 조건이 추가된 경우 먼저 설정된 조건에 따라 정렬되며, 이 경우 레코드가 순서를 구분할 수 없는 경우에만 설정된 조건을 참조합니다.

| 기준 | 설명                                                                                                                      |
| -- | ----------------------------------------------------------------------------------------------------------------------- |
| 필드 | <p>정렬 기준으로 테이블의 필드를 선택합니다.</p><p>작성자, 생성 날짜, 마지막 업데이트 및 마지막 업데이트 날짜는 포건시에 의해 자동으로 추가되며 정렬 기준으로 이러한 필드를 선택할 수도 있습니다.</p> |
| 정렬 | <p>오름차순: 테이블을 필드 오름차순으로 정렬합니다.</p><p>내림차순: 테이블을 필드 내림차순으로 정렬합니다.</p><p>토글: 사용자가 오름차순 또는 내림차순으로 대체 정렬을 클릭할 수 있습니다.</p>   |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.forguncy.co.kr/forguncy-v9/command/command/sort.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
