Grouping quantities in pack list