change order in reference fields