Wednesday, 28 March 2012

Simple dictionary quicksort in Python

Bloody simple and quick algorithm to sort items. I used it to sort dictionary elements by values, so pass .items() as the parameters

No comments:

Post a Comment