| Parameter | Description |
|---|---|
| indices | Indices to sort. Indices must be unique, nonnegative, and strictly less than the length of values. |
| values | Values to use for sorting. |
| comp | The comparison function used to determine the relative order of the elements. |
Sorts a span of indices by comparing a read-only span of values of type T, using a custom comparer.
| Parameter | Description |
|---|---|
| indices | Indices to sort. Indices must be unique, nonnegative, and strictly less than the length of values. |
| values | Values to use for sorting. |
Sorts a span of indices by comparing a read-only span of values of type T, using a custom comparer.