## List::Sort() method


Sorteert de elementen in de lijst met behulp van de standaard comparator.

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

## Zie ook

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


Sorteert de elementen in de lijst.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| comparison | Comparison\<T\> | [Comparison](../../../system/comparison/) om te gebruiken. |

## Zie ook

* 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


Sorteert de elementen in de lijst.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| vergelijker | const SharedPtr\<System::Collections::Generic::IComparer\<T\>\>\& | Comparator om te gebruiken. |

## Zie ook

* 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


Sorteert de elementen in het lijstdeel.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| index | int | Beginindex van slice. |
| count | int | Slice‑grootte. |
| vergelijker | SharedPtr\<System::Collections::Generic::IComparer\<T\>\> | Comparator om te gebruiken. |

## Zie ook

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