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) ![]() |
a comparison function |
Description
Sorts the subarrayusing the ordering
. The comparison function
is optional if
has TotallyOrderedType, in which case the order function of
is taken.