diff --git a/lib/reporting/reports/orders_and_fulfillment/order_cycle_supplier_totals_by_distributor.rb b/lib/reporting/reports/orders_and_fulfillment/order_cycle_supplier_totals_by_distributor.rb index 4152731bcf..728f01c35b 100644 --- a/lib/reporting/reports/orders_and_fulfillment/order_cycle_supplier_totals_by_distributor.rb +++ b/lib/reporting/reports/orders_and_fulfillment/order_cycle_supplier_totals_by_distributor.rb @@ -24,7 +24,8 @@ module Reporting header: true, }, { - group_by: proc { |line_items, _row| line_items.first.variant } + group_by: proc { |line_items, _row| line_items.first.variant }, + sort_by: proc { |variant| variant.product.name } }, { group_by: :hub,