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