diff --git a/src/Widget/Twig/TwigPreprocessor.php b/src/Widget/Twig/TwigPreprocessor.php index b2b8d794..f9dcfec2 100644 --- a/src/Widget/Twig/TwigPreprocessor.php +++ b/src/Widget/Twig/TwigPreprocessor.php @@ -677,7 +677,7 @@ private function getFacetOptions($facetItems, $activeValue, $preferredLanguage, if ($isRegionType) { usort( - $options, + $options, function ($a, $b) { return $a['name'] <=> $b['name']; }