def label(self): return ', '.join(sorted([k + ' ' + convert_record_to_label(l) for k, l in self.references]))
def label(self): return self.type + ' ' + convert_record_to_label(self.record)