Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helper functions for sorting different datatypes #25

Open
jtauber opened this issue Sep 6, 2021 · 1 comment
Open

helper functions for sorting different datatypes #25

jtauber opened this issue Sep 6, 2021 · 1 comment

Comments

@jtauber
Copy link
Owner

jtauber commented Sep 6, 2021

For example dictionaries sorted by key is quite common:

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants