def sort(self, key=(lambda o: (o.typeName, o.path()))):
    'Sort members of set by `key`\n\n        Arguments:\n            key (lambda): See built-in `sorted(key)` for reference\n\n        '
    members = sorted(self.members(), key=key)
    self.clear()
    self.update(members)
Sort members of set by `key`

Arguments:
    key (lambda): See built-in `sorted(key)` for reference
def sort(self, key=(lambda o: (o.typeName, o.path()))):
    'Sort members of set by `key`\n\n        Arguments:\n            key (lambda): See built-in `sorted(key)` for reference\n\n        '
    members = sorted(self.members(), key=key)
    self.clear()
    self.update(members)