How to sort keys of dict by values?
<p>I have a dict <code>{'a': 2, 'b': 0, 'c': 1}</code>.</p>

<p>Need to sort keys by values so that I can get a list <code>['b', 'c', 'a']</code></p>

<p>Is there any easy way to do this?</p>