{% extends 'layout/base.html' %}
{% from 'macros/user.html' import render_user_link %}
{% set current_page = 'orga_admin' %}
{% set title = 'Orgateams - Party wählen' %}

{% block body %}

  <h1>{{ title }}</h1>

  <ol>
    {%- for party in parties|sort(attribute='starts_at', reverse=True) %}
    <li{% if party.is_archived %} class="hidden"{% endif %}>
      {%- if party.is_archived %}<span class="icon-archived" title="archiviert"></span> {% endif -%}
      <a href="{{ url_for('.view_teams_for_party', party_id=party.id) }}">{{ party.title }}</a></li>
    {%- endfor %}
  </ol>

{%- endblock body %}

{% extends 'layout/base.html' %}
{% from 'macros/user.html' import render_user_link %}
{% set current_page = 'orga_admin' %}
{% set title = 'Orgateams - Party wählen' %}

{% block body %}

  <h1>{{ title }}</h1>

  <ul>
    {%- for party in parties|sort(attribute='starts_at', reverse=True) %}
    <li{% if party.is_archived %} class="hidden"{% endif %}>
      {%- if party.is_archived %}<span class="icon-archived" title="archiviert"></span> {% endif -%}
      <a href="{{ url_for('.view_teams_for_party', party_id=party.id) }}">{{ party.title }}</a></li>
    {%- endfor %}
  </ul>

{%- endblock body %}

Use an unsorted list here, too.
Use an unsorted list here, too.
