<table class="table {{ class ?? 'mb-0' }}">
    <thead>
        <tr>
            <th scope="col">{{ 'Année' | trad }}</th>
            <th scope="col">{{ 'Chiffre d\'affaire (en K)' | trad }}</th>
            <th scope="col">{{ 'Devise' | trad }}</th>
        </tr>
    </thead>
    <tbody>
        {# Sorted by ANNE desc #}
        {% for item in list | sort((a,b) => b.ANNEE <=> a.ANNEE) %}
            <tr>
                <td>{{ item.ANNEE }}</td>
                <td class="text-right">{{ item.CHIFF_AFF | prix }}</td>
                <td>{{ item.DEVISE_CA }}</td>
            </tr>
        {% else %}
            <tr><td colspan="3" class="text-muted text-center">{{ 'Aucun élément' | trad }}</td></tr>
        {% endfor %}
    </tbody>
</table>