## 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)
```


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| 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)
```


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| συγκριτής | const SharedPtr\<System::Collections::Generic::IComparer\<T\>\>\& | Σύγκριση για χρήση. |

## Δείτε επίσης

* 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)
```


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| δείκτης | int | Αρχικός δείκτης τμήματος. |
| count | int | Μέγεθος τμήματος. |
| συγκριτής | SharedPtr\<System::Collections::Generic::IComparer\<T\>\> | Σύγκριση για χρήση. |

## Δείτε επίσης

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