func_code: def selection_sort(a):
      while i < len(a):
          j = i
          k = i
          while k < len(a):
              if a[j] > a[k]:
                  k = j
              k = k + 1
          tmp = a[i]
          a[i] = a[j]
          a[j] = tmp
          i = i + 1