for j in range(iteration_number):
   if theList[j] > theList[j+1]:
      temp = theList[j]
      theList[j] = theList[j+1]
      theList[j + 1] = temp