reorder menus and templates