Fix query #7

Order by total quantity of products instead of number of distinct
products