Fix and prevent irreproducible ordering of Trigger EDM list
Trigger configuration must be completely reproducible, including ordering of all job properties. One of the properties is built from the Run-3 Trigger EDM list which recently introduced an irreproducibility by using list(set(something))
in !52412 (merged). Fix this issue by sorting this list, and add a unit test to prevent such bugs in the future.
The new unit test runs in 6 seconds on my laptop.
Fixes ATR-25096