Fix field sort.