def METHOD_NAME(self):
    defs = self.defs_to_sort()
    defs.sort_attributes(AttrType.event,True,['/mysuite/fam1'])
    self.assertEqual(defs,self.expected_def(),"Expected\n" + str(self.expected_def()) + "but found\n" + str(defs))