@@ -284,7 +284,7 @@
</if>
</where>
group by t2.signature
- order by (t2.charge) desc
+ order by sum(t2.charge) desc
limit 100
</select>