summaryrefslogtreecommitdiff
path: root/app/Module/ListsMenuModule.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Module/ListsMenuModule.php')
-rw-r--r--app/Module/ListsMenuModule.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Module/ListsMenuModule.php b/app/Module/ListsMenuModule.php
index 96807b1203..2c9f48e7bf 100644
--- a/app/Module/ListsMenuModule.php
+++ b/app/Module/ListsMenuModule.php
@@ -91,7 +91,7 @@ class ListsMenuModule extends AbstractModule implements ModuleMenuInterface
})
->filter()
->sort(static function (Menu $x, Menu $y): int {
- return $x->getLabel() <=> $y->getLabel();
+ return I18N::comparator()($x->getLabel(), $y->getLabel());
});
if ($submenus->isEmpty()) {