diff --git a/lib/pact_broker/api/decorators/dashboard_text_decorator.rb b/lib/pact_broker/api/decorators/dashboard_text_decorator.rb index 0e9b9c823..41ba67c29 100644 --- a/lib/pact_broker/api/decorators/dashboard_text_decorator.rb +++ b/lib/pact_broker/api/decorators/dashboard_text_decorator.rb @@ -37,10 +37,10 @@ def index_item_object(index_item) Line.new( index_item.consumer_name, index_item.consumer_version_number, - index_item.tag_names.join(", "), + index_item.tag_names.sort.join(", "), index_item.provider_name, index_item.provider_version_number, - index_item.latest_verification_latest_tags.collect(&:name).join(", "), + index_item.latest_verification_latest_tags.collect(&:name).sort.join(", "), index_item.verification_status.to_s ) end