```python
def comb_sort(nums):
    """
    Sorts a list of elements using the Comb Sort algorithm.
    """
    n = len(nums)
    gap = n
    shrink = 1.3
    swapped = True

    while gap > 1 or swapped:
        # Update the gap for the next pass
        gap = int(gap / shrink)
        if gap < 1:
            gap = 1

        # Initialize swapped flag for this pass
        swapped = False

        # Perform a gapped bubble sort pass
        i = 0
        while i + gap < n:
            if nums[i] > nums[i + gap]:
                # Swap elements
                nums[i], nums[i + gap] = nums[i + gap], nums[i]
                swapped = True
            i += 1
```