switch order of parameters in structure to be equivalent with Fortran type