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

Change title Breaking ties with stable sorting #68

Open
bnmnetp opened this issue Jul 10, 2018 · 1 comment
Open

Change title Breaking ties with stable sorting #68

bnmnetp opened this issue Jul 10, 2018 · 1 comment
Assignees

Comments

@bnmnetp
Copy link
Member

bnmnetp commented Jul 10, 2018

When I read that title I thought the section was going to be about non-stable sorting. Perhaps it would be clearer to title the section Stable Sorting breaks ties predictably ??

@presnick
Copy link
Collaborator

New title will be "Breaking Ties: Second Sorting".

Show them how to make the key function return a tuple and explain that tuple sorting is always first element, then second element to break ties.

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

3 participants