{% assign sites = site.sites | sort: "index" %} {% for page in sites %} {% endfor %}