How to sort a python dictionary by value

If you want to search a dictionary by value in python, here is a handy one line using also lambda:

If you run this script output will be ;

You have a feedback?