Change stage orde depending on 'ensure' value