TrigCompositeUtils: Make test results reproducible.
TrigTraversal_test depends on printing lists of objects derived from iterating over a set of pointers. The ordering of this is not reproducible.
Make the test reproducible by sorting these lists when we print them.