order fields of struct fix