{% set communities = domaenen | list | map('extract', domaenen, 'community') | list | unique | sort %}
Gruppen
{% for community in communities %}
{% if community != "None" %}
Community {{community}} Domänen:
{% for domaene in domaenen|dictsort %}
{% if community == domaene[1].community %}
{{domaene[0]}}
{% endif %}
{% endfor %}