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