## List::Sort() method


Listedeki öğeleri varsayılan karşılaştırıcıyı kullanarak sıralar.

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

## Ayrıca Bakınız

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


Listedeki öğeleri sıralar.

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


| Parameter | Type | Açıklama |
| --- | --- | --- |
| comparison | Comparison\<T\> | Kullanmak için [Comparison](../../../system/comparison/). |

## Ayrıca Bakınız

* 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


Listedeki öğeleri sıralar.

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


| Parameter | Type | Açıklama |
| --- | --- | --- |
| karşılaştırıcı | const SharedPtr\<System::Collections::Generic::IComparer\<T\>\>\& | Kullanılacak karşılaştırıcı. |

## Ayrıca Bakınız

* 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


Listenin dilimindeki öğeleri sıralar.

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


| Parameter | Type | Açıklama |
| --- | --- | --- |
| indeks | int | Dilim başlangıç indeksi. |
| count | int | Dilim boyutu. |
| karşılaştırıcı | SharedPtr\<System::Collections::Generic::IComparer\<T\>\> | Kullanılacak karşılaştırıcı. |

## Ayrıca Bakınız

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