Switch history and edit order