We will use the python sorted()function. It works well and it s hard to write a better one ... sorted(tuples, key=lambda record: record[1]) # sort by age.
確定! 回上一頁