in shelldocs/src/main/python/shelldocs.py [0:0]
def __lt__(self, other):
'''comparison'''
if self.audience == other.audience:
if self.stability == other.stability:
if self.replacebool == other.replacebool:
return self.name < other.name
if self.replacebool:
return True
else:
if self.stability == "Stable":
return True
else:
if self.audience == "Public":
return True
return False