sort anonymous fields by position