leejd · 2006-03-17 15:48:09 · 阅读: 415 想偷懒啊 List = sorted(List, lambda x, y:cmp((x["S"],x["D"]), (y["S"],y["D"])))