It should help you.
{% for user in users if user.active and user.id not 1 %} {{ user.name }} {% endfor %} {% for user in users if user.active and user.id not 1 %} {{ user.name }} {% endfor %} More info: http://twig.sensiolabs.org/doc/tags/for.html