switch field order