結果 : sort a list in python using while loop