Find smallest values.
an array
number of values
compare function (a, b)
map function (v, i, x)
n smallest values in ascending order
Generated using TypeDoc
Find smallest values.