move sorting to work with new field data