Remove sort if it`s not set. It fixes very slow queries with findAndModify and sort
Merge pull request #1163 from sars/1.4

Remove sort if it`s not set. It fixes very slow queries with findAndModify and sort
Fixed sort issue
Fixed some tests
enabled disabled test
Merged in pull request #1165
Merged 1.4 in and fixed merge errors