def METHOD_NAME(sample_list):
    """
    Perform min selection sort on values in sample_list.
    Returns the number of comparisons required.
    """
    key_comparisons_made = 0
    for i in range(0, len(sample_list) - 1):
        min_position_so_far = i
        for j in range(i + 1, len(sample_list)):
            key_comparisons_made += 1
            if sample_list[j] < sample_list[min_position_so_far]:
                min_position_so_far = j
        temp = sample_list[min_position_so_far]
        sample_list[min_position_so_far] = sample_list[i]
        sample_list[i] = temp
    return key_comparisons_made