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 secondary column ? #364

Open
jerefrer opened this Issue Dec 11, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@jerefrer

jerefrer commented Dec 11, 2016

Hi there,

I've been looking around the wiki and the issues but I can't find any mention of sorting by a secondary column.

What I mean is to define at least one other column to sort the data against if there are many rows with the same value in the sorted column. Why not a third, a fourth, etc.
My use case is sorting on a boolean column (I use "number" on a tf-sortKey set to 1 or 0). I would like to sort the rows by name in both groups.

Is that currently possible ? If not do you think it would be a good idea ?

Cheers, thanks for everything done so far ;)

@jerefrer jerefrer changed the title from Sort by second column ? to Sort by secondary column ? Dec 11, 2016

@koalyptus

This comment has been minimized.

Show comment
Hide comment
@koalyptus

koalyptus Dec 14, 2016

Owner

Hi @jerefrer,
I confirm it is not possible with current sorting library. I consider it a nice to have but not a priority for the moment. I will check how easy it is to add a demo showing how to integrate with other sorting libraries with current hooks. If it is doable then you could use a sorting library with that capability.

Owner

koalyptus commented Dec 14, 2016

Hi @jerefrer,
I confirm it is not possible with current sorting library. I consider it a nice to have but not a priority for the moment. I will check how easy it is to add a demo showing how to integrate with other sorting libraries with current hooks. If it is doable then you could use a sorting library with that capability.

@koalyptus koalyptus added the question label Dec 28, 2016

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