Force ORDER BY usage with OFFSET-FETCH on SQL Server

Close #3128
Close #3332
Close #3334
Close #3335
Merge branch 'develop', remote branch 'upstream/develop' into develop