# -*- coding: utf-8 -*-
def dict_test():
#构造Map并对其排序
attr_tul = list(['a','b','c'])
one_tul = list([[3,4],[1,9],[2,5]])
one_dic = {}
for i in range(len(attr_tul)):
one_dic[attr_tul[i]] = one_tul[i]
order_dic = sorted(one_dic.iteritems(), key=lambda d:d[1][0], reverse=True)
print order_dic
dict_test()