## Array::Sort(const ArrayPtr\<TKey\>\&, const ArrayPtr\<TValue\>\&) method


Anahtarları içeren bir dizi ve diğer dizi - karşılık gelen öğeler - anahtar dizisinin değerlerine göre, öğeleri operator< kullanılarak karşılaştırılan bir diziye göre sıralar.

```cpp
template<typename TKey,typename TValue> static void System::Array<T>::Sort(const ArrayPtr<TKey> &keys, const ArrayPtr<TValue> &items)
```


| Parameter | Açıklama |
| --- | --- |
| TKey | **keys** dizisindeki öğelerin tipi |
| TValue | **items** dizisindeki öğelerin tipi |

| Parameter | Type | Açıklama |
| --- | --- | --- |
| keys | const ArrayPtr\<TKey\>\& | [Array](../) anahtar değerlerini içeren |
| items | const ArrayPtr\<TValue\>\& | [Array](../) **keys** dizisindeki anahtar değerlerine eşlenen öğeleri içeren |

## Ayrıca Bakınız

* Typedef [ArrayPtr](../../arrayptr/)
* Class [Array](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## Array::Sort(const ArrayPtr\<TKey\>\&, const ArrayPtr\<TValue\>\&, int, int) method


Anahtarları içeren bir dizi ve diğer dizi - karşılık gelen öğeler - anahtar dizisinin değerlerine göre, öğeleri varsayılan karşılaştırıcı kullanılarak karşılaştırılan bir diziye göre sıralar.

```cpp
template<typename TKey,typename TValue> static void System::Array<T>::Sort(const ArrayPtr<TKey> &keys, const ArrayPtr<TValue> &items, int index, int length)
```


| Parameter | Açıklama |
| --- | --- |
| TKey | **keys** dizisindeki öğelerin tipi |
| TValue | **items** dizisindeki öğelerin tipi |

| Parameter | Type | Açıklama |
| --- | --- | --- |
| keys | const ArrayPtr\<TKey\>\& | [Array](../) anahtar değerlerini içeren |
| items | const ArrayPtr\<TValue\>\& | [Array](../) **keys** dizisindeki anahtar değerlerine eşlenen öğeleri içeren |
| indeks | int | Sıralanacak aralığın başlangıcını belirten indeks |
| length | int | Sıralanacak aralıktaki öğe sayısı |

## Ayrıca Bakınız

* Typedef [ArrayPtr](../../arrayptr/)
* Class [Array](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## Array::Sort(const ArrayPtr\<Type\>\&) method


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

```cpp
template<typename Type> static void System::Array<T>::Sort(const ArrayPtr<Type> &arr)
```


| Parameter | Type | Açıklama |
| --- | --- | --- |
| arr | const ArrayPtr\<Type\>\& | Hedef dizi |

## Ayrıca Bakınız

* Typedef [ArrayPtr](../../arrayptr/)
* Class [Array](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## Array::Sort(const ArrayPtr\<Type\>\&, const SharedPtr\<System::Collections::Generic::IComparer\<T\>\>\&) method


Belirtilen dizideki öğeleri belirtilen karşılaştırıcıyı kullanarak sıralar.

```cpp
template<typename Type> static void System::Array<T>::Sort(const ArrayPtr<Type> &arr, const SharedPtr<System::Collections::Generic::IComparer<T>> &comparator)
```


| Parameter | Type | Açıklama |
| --- | --- | --- |
| arr | const ArrayPtr\<Type\>\& | Hedef dizi |
| karşılaştırıcı | const SharedPtr\<System::Collections::Generic::IComparer\<T\>\>\& | Dizinin öğelerini karşılaştırmak için kullanılan IComparer<T> nesnesi |

## Ayrıca Bakınız

* Typedef [ArrayPtr](../../arrayptr/)
* Typedef [SharedPtr](../../sharedptr/)
* Class [IComparer](../../../system.collections.generic/icomparer/)
* Class [Array](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## Array::Sort(const ArrayPtr\<Type\>\&, const SharedPtr\<System::Collections::Generic::IComparer\<Y\>\>\&) method


UYGULANMADI.

```cpp
template<typename Type,typename Y> static void System::Array<T>::Sort(const ArrayPtr<Type> &arr, const SharedPtr<System::Collections::Generic::IComparer<Y>> &comparator)
```


## Ayrıca Bakınız

* Typedef [ArrayPtr](../../arrayptr/)
* Typedef [SharedPtr](../../sharedptr/)
* Class [IComparer](../../../system.collections.generic/icomparer/)
* Class [Array](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## Array::Sort(const ArrayPtr\<Type\>\&, int, int) method


Belirtilen dizideki bir öğe aralığını varsayılan karşılaştırıcıyı kullanarak sıralar.

```cpp
template<typename Type> static void System::Array<T>::Sort(const ArrayPtr<Type> &arr, int startIndex, int count)
```


| Parameter | Type | Açıklama |
| --- | --- | --- |
| arr | const ArrayPtr\<Type\>\& | Hedef dizi |
| startIndex | int | Sıralanacak öğe aralığının başlangıcını belirten indeks |
| count | int | Sıralanacak öğe aralığının boyutu |

## Ayrıca Bakınız

* Typedef [ArrayPtr](../../arrayptr/)
* Class [Array](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
