EZP-22564: move getting field type information for sort clause to FieldMap