benbrignell / principles.design

An open source collection of design principles and methods.
https://principles.design
MIT License
1.28k stars 196 forks source link

Examples page sort order #77

Closed benbrignell closed 6 years ago

benbrignell commented 6 years ago

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 commented 6 years ago

Can't fix without plugin