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