If the sompatitability level for a database is set to 60 or 65 SQL Sever will automatically include an ORDER BY in a GROUP BY query to order the result because they would be older version of SQL Server.
If the compatibility level for a database is set to 60 or 65, SQL Server will automatically include an ORDER BY in a GROUP BY query to order the results because they would be older SQL Server versions.