human
Create a new algorithm to sort a list of numbers.
gpt
def sort_list(nums):
    for i in range(len(nums) - 1):
        min_idx = i
        for j in range(i + 1, len(nums)):
            if nums[j] < nums[min_idx]:
                min_idx = j
        nums[i], nums[min_idx] = nums[min_idx], nums[i]
    return nums
alpaca_gpt2_none_5per_811