Arranging order of attributes