func_code: def find_position_of_smallest(a, i):
      tmp = i
      while i < len(a):
          if a[i] < a[tmp]:
              tmp = i
          i = i + 1
      return tmp
  
  
  def sort(a):
      find_position_of_smallest(a, i)
      i = tmp
      a[0] = tmp