issue with sorting field