diff --git a/bl-kernel/pages.class.php b/bl-kernel/pages.class.php index f14bc393..0cf3692c 100644 --- a/bl-kernel/pages.class.php +++ b/bl-kernel/pages.class.php @@ -632,7 +632,7 @@ class Pages extends dbJSON private function sortByPositionLowToHigh($a, $b) { - return $a['position'] > $b['position']; + return $a['position'] <=> $b['position']; } private function sortByPositionHighToLow($a, $b) {