Made totals a tuples list to preserve configured order.