4 years ago Grouping by charge types Groups the allCharges by their respective type and sums their amount