#coding:gb2312
'''
Created on 2015Äê1ÔÂ7ÈÕ
@author: Administrator
'''
import operator
x = {"a":3, "n":1, "t":9}
sorted_x = sorted(x.items(), key=operator.itemgetter(1))
print sorted_x


82ac37b3ebf3d3bcaab3fb223279c9f8a2786a0b
#coding:gb2312
'''
Created on 2015Äê1ÔÂ7ÈÕ
@author: Administrator
'''
import operator
x = {"a":3, "n":1, "t":9}
sorted_x = sorted(x.items(), key=operator.itemgetter(1))
print sorted_x

