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

Feature Request: add functions to sort dictionary by keys and values named pydash.sort_dict_by_values/sort_dict_by_keys #234

Open
DeflateAwning opened this issue Aug 8, 2024 · 5 comments

Comments

@DeflateAwning
Copy link

No description provided.

@DeflateAwning DeflateAwning changed the title Feature Request: add function to sort dictionary by keys and values named pydash.sort_dict_by_values/sort_dict_by_keys Feature Request: add functions to sort dictionary by keys and values named pydash.sort_dict_by_values/sort_dict_by_keys Aug 8, 2024
@Skynet-dj
Copy link

Has the request been added? Or can I start working on it?

@DeflateAwning
Copy link
Author

I'm not aware of it having been added. I'm sure that'd be much appreciated!

@Skynet-dj
Copy link

I'm not really sure what functions are already present in here but wouldn't it be better to have a "sort" function for all types of iterables? And this sorting of dictionary already exists in python, so why do we need to implement it here?

@DeflateAwning
Copy link
Author

How do you sort a dict in python like explained?

Everything in pydash "already exists"; pydash provides shortcuts with more clear operation though

@Skynet-dj
Copy link

Okay.

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