The query "SELECT SUM(field) FROM table GROUP BY field2" can be sorted ASC and DESC on the SUM column using the GUI. But as soon as I escape the argument, sorting will stick to ASC.
SELECT SUM(`field`) FROM table GROUP BY field2
(note the backticks around "field") cannot be sorted DESC on SUM column using the GUI.
This is a follow-up of [bugs:#619].