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

Issue with sorting in _.sortBy. #1879

Closed
eraser88 opened this issue Sep 28, 2014 · 2 comments
Closed

Issue with sorting in _.sortBy. #1879

eraser88 opened this issue Sep 28, 2014 · 2 comments

Comments

@eraser88
Copy link

If i have objects like these :
[{"1", 100}, {"1", 1}, {"1", 2}, {"1", 200}]
If i sort the elements using both the columns then the result should be :
[{"1", 1}, {"1", 2}, {"1", 100}, {"1", 200}]
But in the current code the result that is displayed is :
[{"1", 1}, {"1", 100}, {"1", 2}, {"1", 200}]

Which i think is an issue ?

@eraser88
Copy link
Author

I have sent a pull request to fix this issue here Let me know what you guys think. Thanks.

@jgonggrijp
Copy link
Collaborator

Closing for the reasons discussed in #1880 and #2846.

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

No branches or pull requests

3 participants