Sort nav menus and menu items - fixes #1