func_code: def swap(a, i, j):
      temp = a[i]
      a[i] = a[j]
      a[j] = temp
  
  
  def find_position_of_smallest(a, i):
      track = 0
      tempnum = a[i + track]
      while track != len(a) - i:
          if a[i + track] < tempnum:
              tempnum = a[i + track]
          track = track + 1
      return track + i - 1
  
  
  def sort(a):
      i = 0
      j = 0
      while i != len(a):
          j = find_position_of_smallest(a, i)
          swap(a, i, j)
          i = i + 1