gh-2374 make sort usable with count op
Merge pull request #2424 from alabid/gh-2374

gh-2374 make sort usable with count op