countSort

Sorts arr in-place using counting sort. The difference between the lowest and highest element of arr shouldn't be too big.

T[]
countSort
(
alias value = "a"
T
)
(
T[] arr
)

Meta