pyuca icon indicating copy to clipboard operation
pyuca copied to clipboard

helper functions for sorting different datatypes

Open jtauber opened this issue 4 years ago • 1 comments

For example dictionaries sorted by key is quite common:

d = dict(sorted(d(), key=lambda x: c.sort_key(x[0])))

jtauber avatar Sep 06 '21 08:09 jtauber

Had just such an application for this today—if I figure out the best way to handle this, I'll submit a PR.

diyclassics avatar Sep 24 '21 17:09 diyclassics