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

Examples page sort order #77

Closed
benbrignell opened this issue Jan 5, 2018 · 1 comment
Closed

Examples page sort order #77

benbrignell opened this issue Jan 5, 2018 · 1 comment

Comments

@benbrignell
Copy link
Owner

benbrignell commented Jan 5, 2018

The default ascending sort order that jekyll spews out on the https://principles.design/examples page a) isn’t correct/smart, for example you have the order:

10 Principles of Codecademy
10 Usability Heuristics for User Interface Design
20 Guiding Principles for Experience Design
37 Signals Principles
5 Guiding Principles for Experience Designers
5 Principles for the wearable revolution
…

and b) when you click on the sort button to sort true ascending, it re-sorts it to actual ascending order which is just a weird thing to happen on first click. (note if the order is truly ascending order then this doesn't happen when the sort button is clicked, it sorts descending)

5 Guiding Principles for Experience Designers
5 Principles for the wearable revolution
5 rules for incorporating AI tech into design
7 Principles of Rich Web Applications
8 Design Principles for Organizational Transformation
8 fundamentals for user friendly product development
…

I’ve tried adding sort_natural to my array but it doesn’t do anything. The only sort filter I can find that works is reversed there doesn’t seem to be anything else. Any ideas?

For the time being I may force the sort button to do sort descending first, then if you click it again and sort to ascending you'll get the true ascending order. But it's a bit rubbish.

@benbrignell
Copy link
Owner Author

Can't fix without plugin

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

No branches or pull requests

1 participant