Update menu_order using SQL query rather than wp_update_post() - it's much faster.