change ordering of attributes