Sort a real array in ascending order in place.
Delegates the sorting operation to stdlib_sorting. The optional idx
argument is present in the interface but is not currently populated.
call sort(values)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=pr), | intent(inout) | :: | array(:) |
Values to sort; overwritten in ascending order. |
||
| integer, | intent(out), | optional | :: | idx(:) |
Reserved optional index output; currently unchanged. |