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

Sort by multiple keys #28

Open
JobLeonard opened this issue Dec 8, 2017 · 0 comments
Open

Sort by multiple keys #28

JobLeonard opened this issue Dec 8, 2017 · 0 comments

Comments

@JobLeonard
Copy link

This may be a bit of a weird request, but I have a specific need to mostly-sort by hue, then by diff (actual sorting wouldn't work since all hue/chroma/lightness are likely to be unique).

I guess it could be implemented by limiting the significant digits being compared (maybe even allowing for control of that), then using diff as a secondary key.

I'm going to look into the source code myself to see if I can come up with a functional snippet that does what I want, to give a better example :)

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

1 participant