Sort decending

This commit is contained in:
Oliver Davies 2017-10-28 02:05:34 +01:00
parent 3958e1413d
commit dca8b1afb4

View file

@ -20,7 +20,7 @@ class FormatTalksExtension extends Twig_Extension
public function formatTalks($talks)
{
return collect($talks)
->sortBy('event.date')
->sortByDesc('event.date')
->all();
}