preserve enum order