Add sorting for menus in manage