Python Sort List Of Objects By Multiple Attributes In Xml