{% for p in pages|sort(attribute='sort-order') %} {{ p.title }} {% endfor %}