Sorting Posts by Something Other Than Date
<!--
Assuming that each of your posts has a weight value set in its frontmatter, you can do the following. You can sort by any frontmatter value
-->
{% assign posts_list = site.posts | sort:"weight" %}
{% for posts in posts_list %}
...
{% endfor %}