added routes and enabled menu sorting