+ [2019-05-01T02:12:46Z] Cranite But it doesn't seem to work, though it does... compile?
+ [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:13:43Z] cryptic0 I am very new to liquid myself, but why is "members.size" inside quotes?
+ [2019-05-01T02:15:45Z] Cranite That also compiles but doesn't work
+ [2019-05-01T02:16:35Z] cryptic0 you might want to post to talk.jekyllrb and/or to stackoverflow

message no. 172033

Posted by Cranite in #jekyll at 2019-05-01T02:12:39Z

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-02T10:35:41Z] thms_ It's been an hour I've been trying to center a table...
+ [2019-05-02T10:36:12Z] thms_ align= works on other attributes. For table I use css text-align but doesn't seem to do what I want
+ [2019-05-02T10:40:46Z] thms_ Found a way, styling should be done using CSS. Beginner pitfall :)
+ [2019-05-07T13:57:58Z] CaBa hi
+ [2019-05-07T14:11:28Z] jaybe anyong