How to sort dictionaries of objects by attribute value?
>>> for key in sorted(student_Dict, key = lambda name: student_Dict[name].age):
... print key
...
dave
jane
john
for student in (sorted(student_Dict.values(), key=operator.attrgetter('age'))):
print(student.name)