Sort trigger data before processing
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 8 Jun 2021 00:06:57 +0000 (12:06 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 8 Jun 2021 00:07:22 +0000 (12:07 +1200)
commit9b0ff7e223428ca0c143cf6cb6a4efc62cca2faa
treed03cc32587dbaa51ade47274e413042c97e80446
parent7b0d82d12d694a9717010a05a691f9a521f844b1
Sort trigger data before processing

At some point these stopped being consistently alpha sorted - which doesn't matter
if you are just letting Civi run the trigger updates but if you output it
and diff it this inconsistency is a problem

Subset of https://github.com/civicrm/civicrm-core/pull/20472
in the hope of getting this merged

https://github.com/civicrm/civicrm-core/pull/20471 also grooms this output for diffing
albeit only in an edge case
CRM/Logging/Schema.php
Civi/Core/SqlTriggers.php