diff --git a/administrator/components/com_menus/views/items/view.html.php b/administrator/components/com_menus/views/items/view.html.php index b0c31c0b56726..441ff67027132 100644 --- a/administrator/components/com_menus/views/items/view.html.php +++ b/administrator/components/com_menus/views/items/view.html.php @@ -55,7 +55,7 @@ public function display($tpl = null) // Preprocess the list of items to find ordering divisions. foreach ($this->items as $item) { - $this->ordering[$item->parent_id][] = $item->id; + $this->ordering[$item->parent_id][$item->lft] = $item->id; // Item type text switch ($item->type)