Sort an array of integers using Counting sort (where you only have integers and the min and max are known)