input: 
  from typing import List
  
  def sort_list(numbers: List[int]) -> None:
      """
      Sorts a list of numbers in ascending order using the selection sort algorithm.
  
      >>> array = [4, 2, 6, 7, 1]
      >>> sort_list(array)
      >>> array
      [1, 2, 4, 6, 7]
      """
      n = len(numbers)
      for i in range(n):
          min_idx = i
          for j in range(i+1, n):
              if numbers[min_idx] > numbers[j]:
                  min_idx = j
          numbers[i], numbers[min_idx] = numbers[min_idx], numbers[i]
  
  if __name__ == "__main__":
      array = [4, 2, 6, 7, 1]
      sort_list(array)
      print(array)
  
output:     n = len(numbers)
      for i in range(n):
          min_idx = i
          for j in range(i+1, n):
              if numbers[min_idx] > numbers[j]:
                  min_idx = j
          numbers[i], numbers[min_idx] = numbers[min_idx], numbers[i]