change flex order