Sort a given array of numbers in ascending order using counting sort algorithm.
Sort a given array of numbers in ascending order using counting sort algorithm.