I would like to be able to sort some elements first by the name of some of their child elements, and then by an attribute.
Here is an example. I have simplified it from m