-ORDER BY is only inserted into the query if the result are being grouped