```python
def counting_sort(my_list):
    """
    Sorts a list of non-negative integers using the Counting Sort algorithm.
    """
    # Handle the edge case of an empty list.
    if not my_list:
        return []

    # Find the maximum value to determine the range of the count array.
    max_element = max(my_list)

    # Create a count array to store the frequency of each element.
    # The size is max_element + 1 to accommodate the max_element itself.
    counts = [0] * (max_element + 1)

    # Populate the count array with the frequency of each number.
    for element in my_list:
        counts[element] += 1

    # Build the sorted list from the count array.
    sorted_result = []
    for element, frequency in enumerate(counts):
        # Append the element to the result 'frequency' times.
        sorted_result.extend([element] * frequency)

    return sorted_result
```