diff --git a/library/Class/MoteurRecherche/Facettes.php b/library/Class/MoteurRecherche/Facettes.php index 14e79f6099515e95a71a37b962592a63cd483267..aa3766189ab73051819d554cdd8aaf9e8c5ad3d2 100644 --- a/library/Class/MoteurRecherche/Facettes.php +++ b/library/Class/MoteurRecherche/Facettes.php @@ -202,7 +202,11 @@ class Class_MoteurRecherche_Facettes { $codes_count[$bookmark_code])]; } - sort($matches, SORT_REGULAR); + usort($matches, function($first, $second) + { + return strcmp($first['label'], $second['label']); + }); + return $matches; }