Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Sorting posts in archive.ejs #2153
I've tried searching through the documentation to no avail.
How would one sort the posts in reverse?
My theme has this:
I've tried a few things including this:
and also this:
Any ideas on how I can sort my posts so that the oldest is always the first in the list?
This seems to work.
It would be awesome if you could explain the way these types of functions work in the documentation. It's currently pretty difficult to figure out how basic theming functions work.