In MySQL, "GROUP BY column" implicitly does an "ORDER BY column".
In ArchiveProcessing, one query has "ORDER BY NULL" telling MySQL to not sort. There are 3 other queries with GROUP BY, but without the ORDER BY NULL. If order doesn't matter, add the clause.
In , fixes #981 - add ORDER BY NULL clause