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