Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Override the sort filter #2299
@mattr- This implementation acts exactly like the Liquid sort filter except it doesn’t fail on non-existent properties. People with SQL background are familiar with the nils order option. I hope one day Liquid will expand his sort filter in the same manner, and Jekyll can just use Liquids version again.
Understood. How do we make sure that our users know that's how the filter is supposed to behave though? That's my concern. They're not going to go digging through code and open issues to figure it out.
The only thing I'm asking for (and it doesn't even hold up merging this PR) is that the behavior is documented so that people know what to expect.