Sort decending
This commit is contained in:
parent
3958e1413d
commit
dca8b1afb4
|
@ -20,7 +20,7 @@ class FormatTalksExtension extends Twig_Extension
|
||||||
public function formatTalks($talks)
|
public function formatTalks($talks)
|
||||||
{
|
{
|
||||||
return collect($talks)
|
return collect($talks)
|
||||||
->sortBy('event.date')
|
->sortByDesc('event.date')
|
||||||
->all();
|
->all();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue