I am having a use case where it would be valuable for me to sort sections by the title in the front matter. Meaning sorting in alphabetical order.
After looking through the code base, I figured I could probably implement this change.
There are two hurdles I see:
-
I would probably add another pair in the same sense as page.later/page.earlier and page.heavier/page.lighter. I saw in this pull request that page.next and page.previous was removed. When sorting by title I would probably reintroduce them. I welcome any and all suggestions about better semantics.
-
Is this something only I would have use for? I couldn’t see any other issues regarding this and I don’t know if this possibility exists in other static site generators.
Would this change be something that would be appreciated?