## List::Sort() method


기본 비교자를 사용하여 리스트의 요소를 정렬합니다.

```cpp
void System::Collections::Generic::List<T>::Sort()
```

## 또 보기

* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
## List::Sort(Comparison\<T\>, bool) method


리스트의 요소를 정렬합니다.

```cpp
void System::Collections::Generic::List<T>::Sort(Comparison<T> comparison, bool)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| comparison | Comparison\<T\> | [Comparison](../../../system/comparison/)를 사용합니다. |

## 또 보기

* Class [Comparison](../../../system/comparison/)
* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
## List::Sort(const SharedPtr\<System::Collections::Generic::IComparer\<T\>\>\&) method


리스트의 요소를 정렬합니다.

```cpp
void System::Collections::Generic::List<T>::Sort(const SharedPtr<System::Collections::Generic::IComparer<T>> &comparator)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 비교자 | const SharedPtr\<System::Collections::Generic::IComparer\<T\>\>\& | Comparator to use. |

## 또 보기

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IComparer](../../icomparer/)
* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
## List::Sort(int, int, SharedPtr\<System::Collections::Generic::IComparer\<T\>\>) method


리스트 슬라이스의 요소를 정렬합니다.

```cpp
void System::Collections::Generic::List<T>::Sort(int index, int count, SharedPtr<System::Collections::Generic::IComparer<T>> comparator)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| index | int | 슬라이스 시작 인덱스. |
| count | int | 슬라이스 크기. |
| 비교자 | SharedPtr\<System::Collections::Generic::IComparer\<T\>\> | Comparator to use. |

## 또 보기

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IComparer](../../icomparer/)
* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
