swap field order