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

Add comparators for Indexed class #113

Open
CodesAway opened this issue Dec 5, 2020 · 0 comments
Open

Add comparators for Indexed class #113

CodesAway opened this issue Dec 5, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@CodesAway
Copy link
Owner

Don't implement Comparable, since there are 4 common ways to potentially sort

  • By index ascending
  • By index descending
  • By value ascending
  • By value descending

For example, sorting by value allows sorting a list of values while retaining the original index

@CodesAway CodesAway added the enhancement New feature or request label Dec 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant