How would I get the dictionary values based on the sorted key? For example:
d = {
'first': 'asdf'
'second': 'aaaa'
}
==> ['asdf', 'aaaa']
I was thinking something along the lines of:
sorted(x.item(), sort=...)
How would this be done?