8aa82eff4a
This works around a problem in SQL Server, which caused it to throw a DML exception if the same column is duplicated in `ORDER BY` clause. Backported from MDL-79270.