+ [9 years ago] travis-ci jekyll/jekyll#7344 (master) The build passed. https://travis-ci.org/jekyll/jekyll/builds/124589145
+ [9 years ago] travis-ci jekyll/jekyll#7345 (master) The build passed. https://travis-ci.org/jekyll/jekyll/builds/124589720
+ [9 years ago] parallel21 In a collection, am I able to sort on a yml property?
+ [9 years ago] parallel21 like `for item in collection | sort: 'myAwesomeProperty`

message no. 132553

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

should work, yea?
+ [9 years ago] 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`
+ [9 years ago] 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`
+ [9 years ago] jekyllrb The operation succeeded.
+ [9 years ago] jaybe ;) that pleases me