[syncron] BPP-2309 / HHH-6914: Fix queries with ORDER BY over same column

Fix queries with ORDER BY over same column referenced under 2 different names
on SQL Server.
[syncron] BPP-2309 / HHH-6914: Remove HHH-7370 since the functionality is removed