diff --git a/app/services/reports/partner_info_report_service.rb b/app/services/reports/partner_info_report_service.rb index ced0ebb1fb..9db4d27199 100644 --- a/app/services/reports/partner_info_report_service.rb +++ b/app/services/reports/partner_info_report_service.rb @@ -37,7 +37,7 @@ def partner_agency_counts end def partner_zipcodes_serviced - partner_agency_profiles.map(&:zips_served).uniq.join(', ') + partner_agency_profiles.map(&:zips_served).uniq.sort.join(', ') end end end diff --git a/spec/services/reports/partner_info_report_service_spec.rb b/spec/services/reports/partner_info_report_service_spec.rb index 3f8a88dc1a..c858307768 100644 --- a/spec/services/reports/partner_info_report_service_spec.rb +++ b/spec/services/reports/partner_info_report_service_spec.rb @@ -28,7 +28,7 @@ entries: { "Agency Type: Career technical training" => 2, "Agency Type: Education program" => 1, "Number of Partner Agencies" => 3, - "Zip Codes Served" => "90210-1234, 12345, 09876-3564" }, + "Zip Codes Served" => "09876-3564, 12345, 90210-1234" }, name: "Partner Agencies and Service Area" }) end