latest 11 messages by Cranite

+ [2019-05-01T02:15:45Z] Cranite That also compiles but doesn't work
+ [2019-05-01T02:13:14Z] Cranite Trying to use the following instead causes an error on... compiling? {% assign groups = site.groups | sort: "members.size" %}
+ [2019-05-01T02:12:46Z] Cranite But it doesn't seem to work, though it does... compile?
+ [2019-05-01T02:12:43Z] Cranite The current code I have for it is as follows: {% assign groups = site.groups | sort: "members | size" %}
+ [2019-05-01T02:12:39Z] Cranite 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
+ [2019-05-01T02:12:33Z] Cranite Ah you joined after I asked my first question
+ [2019-05-01T02:04:12Z] Cranite Do you know much about array sorting in Liquid?
+ [2019-05-01T01:54:57Z] Cranite Hello?
+ [2019-04-30T23:27:45Z] Cranite But it doesn't seem to work, though it does... compile?
+ [2019-04-30T23:27:33Z] Cranite The current code I have for it is as follows: {% assign groups = site.groups | sort: "members | size" %}
+ [2019-04-30T23:26:23Z] Cranite 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.