field sort fix