-
Notifications
You must be signed in to change notification settings - Fork 2
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
Additional Sorting Criteria #3
Comments
Hi, Yes, it’s still active, in the sense that I use this extension myself every day, and intend to continue maintaining it. (I’ve not done anything lately, so it has in a sense gone inactive, but that’s due to a lack of time, and is only temporary. I have a bugfix I want to implement soon.) So if I’ve understood your feature request, you want me to add a new optional attribute the Group element called OrderBy. It would support AlphaAscending and LengthAscending (any others? ‘Descending’ versions of each of those would be the obvious thing, but that doesn’t seem very useful), and if the attribute is absent, AlphaAscending would be presumed. AlphaAscending would be the current behaviour, while LengthAscending simply sorts within the group based on the length of the namespace. Have I understood? Have I missed anything? It doesn’t seem like it would be difficult, and I can’t see it causing any difficulties with maintenance or reliability, so if you’d find this a useful mechanism, I’m happy to add it. Ian From: Charles Grunwald [mailto:[email protected]] Not sure if this is still an active project for you, but in any case, I thought I'd suggest the following functionality: Adding additional handling for the Group element to allow for customizing the sorting criteria. Something to the effect of:
Might just go to me having peculiar (possibly poor) taste, but I've always liked: using System; using System.Reflection; using System.Collections.Generic; As opposed to: using System; using System.Collections.Generic; using System.Reflection; — |
Yep, sounds like you've understood what I was suggesting. Qualifying the sort direction was sort of just tacked on for good measure, but I'd have to agree that it probably wouldn't have much use. The only question that came to my mind is how you'd handle length-based sorting when dealing with a |
Not sure if this is still an active project for you, but in any case, I thought I'd suggest the following functionality:
Adding additional handling for the
Group
element to allow for customizing the sorting criteria. Something to the effect of:Might just go to me having peculiar (possibly poor) taste, but I've always liked:
As opposed to:
The text was updated successfully, but these errors were encountered: