put the options back in the original order