QRadar AQL Group By and Order By

I am running this Query: SELECT sourceip AS 'IP de Origen', SUM("SQ-Bytes") FROM events WHERE LOGSOURCEGROUPNAME(devicegrouplist) ilike '%proxies%' GROUP BY sourceip ORDER BY "SQ-Bytes" DESC LIMIT 10 LAST 10 MINUTES

But I am getting that "SQ-Bytes" should be on an aggregate function to by ordered or by in the group by.

SELECT sourceip AS 'IP de Origen', SUM(SQ-Bytes) as 'Sum of Source Bytes' FROM events WHERE LOGSOURCEGROUPNAME(devicegrouplist) ilike '%proxies%' GROUP BY 'IP de Origen' ORDER BY 'Sum of Source Bytes' DESC LIMIT 10 LAST 10 MINUTES