Partially arrange values in order.
an array
minimum number of values to sort
compare function (a, b)
map function (v, i, x)
swap function (x, i, j)
x' | x' = x; x'[i] ≤ x'[j] ∀ i ≤ j
Generated using TypeDoc
Partially arrange values in order.