test ordering corrected for fields