[DDC-2282] Fix pagination problem with SQL Server.

ORDER BY removed from all count queries when on SQL Server
Fixed SQLServer ORDER BY problem in paginator CountOutputWalker
Added test to check query with ORDER BY and SQLServerPlatform
Merge branch 'GH-572'