+ [2016-04-20T21:45:07Z] travis-ci jekyll/jekyll#7344 (master) The build passed. https://travis-ci.org/jekyll/jekyll/builds/124589145
+ [2016-04-20T22:01:34Z] travis-ci jekyll/jekyll#7345 (master) The build passed. https://travis-ci.org/jekyll/jekyll/builds/124589720
+ [2016-04-20T22:50:30Z] parallel21 In a collection, am I able to sort on a yml property?
+ [2016-04-20T22:50:53Z] parallel21 like `for item in collection | sort: 'myAwesomeProperty`
+ [2016-04-20T22:51:04Z] parallel21 should work, yea?

message no. 132551

Posted by parallel21 in #jekyll at 2016-04-20T22:50:30Z

In a collection, am I able to sort on a yml property?
+ [2016-04-21T13:39:49Z] zero-gravitas @parallel21 I think you'd have to assign the sorted array first, so {% assign sorted_collection = site.collection | sort:"myAwesonProperty" %} then you cn loop over the `sorted_collection`
+ [2016-04-21T13:44:02Z] zero-gravitas ./later tell parallel21 I think you'd have to assign the sorted array first, so {% assign sorted_collection = site.collection | sort:"myAwesonProperty" %} then you cn loop over the `sorted_collection`
+ [2016-04-21T13:44:02Z] jekyllrb The operation succeeded.
+ [2016-04-21T13:45:43Z] jaybe ;) that pleases me