Is there a way to sort a number of posts alphabetically, using Jekyll?
I have something like this now:
{% for post in site.categories.threat %}
According to the documentation, to filter an array by one of its field, you can use :
{% assign sortedPosts = site.posts | sort: 'title' %}
Then the sortedPosts variable will contain the sorted array.
The documentation can be found here : https://docs.shopify.com/themes/liquid/filters/array-filters#sort