Usage
sort!(a, n, m)
sort!(a, n, m, f)
Signature
sort!: (%,MachineInteger,MachineInteger, (T,T) Boolean) %
Parameter | Type | Description |
---|---|---|
a | % | a primitive array |
n, m | MachineInteger | indices |
f | (T, T) Boolean | a comparison function |
Description
Sorts the subarray using the ordering . The comparison function is optional if has TotallyOrderedType, in which case the order function of is taken.