This command sorts the values of my dictionary into a numerical order.  I 
now would like to reverse that numerical order. I can see there is a 
command called .reverse() that I should be able to include. 
But I have tried all kinds of ways to include it, I just cant get it to 
work. Could someone advise of the correct syntax. 


wordFrequencey = { 'ARE': 1, 'ART': 2, 'AS': 8, 'AT': 3, 'ATTEMPT': 2, 
'AVERSION': 4, 'AWARE': 1, 'AWARENESS': 1}

order = sorted(wordFrequencey.values())

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/c6b0ff1d-5568-4fbb-b553-9fa0b209b959%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to