message no. 172025
Posted by Cranite in #jekyll at 2019-04-30T23:26:23Z
Hey so I'm having a problem with array sorting in Liquid, is there a way to sort an array based on an element's properties? The example being that I'm sorting through a list of groups that have members, the list of groups is a collection and each group has a members list. I would like to sort the list of groups by how many members it has, so larger groups get shown first.