pyuca
pyuca copied to clipboard
helper functions for sorting different datatypes
For example dictionaries sorted by key is quite common:
d = dict(sorted(d(), key=lambda x: c.sort_key(x[0])))
Had just such an application for this today—if I figure out the best way to handle this, I'll submit a PR.