Sorting objects by the attributes on their children! Holy FUCK