0 Lava Sort Descending 3 Nate Barber posted 7 Years Ago Lava Sort works well ... if you want to sort ascending. How can I set the sort to order Descending?For example, this ascending sort works well:{% assign children = Row | Children | Sort:'Age' %}However, in the absence of documentation telling me how to do this, I tried several variations, none of which work:{% assign children = Row | Children | Sort:'Age, desc' %}{% assign children = Row | Children | Sort:'Age' Desc %}{% assign children = Row | Children | Sort:'Age, descending' %}{% assign children = Row | Children | Sort:'Age' Descending %}{% assign children = Row | Children | Sort:'Age' Order:'Descending' %}Is there no way to do this? Please help.
Jim Michael 7 years ago Good find I'll just add (for future visitors to this post) that there ARE parts of Lava that implement sorting, namely the Entity Commands I referenced in my first reply and can be seen here https://www.rockrms.com/page/746 (which can be confusing if you read "You can't sort in Lava" as that's not always true). Keep in mind that while Lava was originally based on Liquid, it has far surpassed it in certain ways for specific for Rock usage.