class Home(panikweb.views.Home):
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
- context['emissions'] = list(Emission.objects.filter(archived=False).order_by('title'))
+ context['emissions'] = list(Emission.objects.filter(archived=False).order_by('creation_timestamp'))
# force detour-vers-le-futur to go first
detour = [x for x in context['emissions'] if x.slug == 'detour-vers-le-futur']
context['emissions'] = detour + [x for x in context['emissions'] if x.slug != 'detour-vers-le-futur']