Respect the sorting order in the menu module.