Python中的sorted函数以及operator.itemgetter函数(转--略加修改:添加2.x和3.x版本下dict排序)

NoSuchKey