to set fields order