Concept Flow - Counting Sort Algorithm
Find max value in array
Create count array of size max+1
Initialize count array with zeros
Count each element's frequency
Modify count array to store positions
Build output array using count positions
Copy output array back to original
Sorted array ready
Counting Sort counts how many times each number appears, then uses that to place numbers in order.