What are the different ways to sort a dictionary by value in Python?

I’m working on a dictionary in which all its values are my products count. I want to sort dictionary on the based of its values(count) so that all products will be sorted on the base of their total count. I have found one method of doing it that is below:

It works fine but I want to explore many different alternative ways of doing it. Can someone share methods with me?