def __lt__(self, other):
        "Dimensions are sorted alphanumerically by name"
        return self.name < other.name if isinstance(other, Dimension) else self.name < other
def __lt__ ( self , other ) : return self . name < other . name if isinstance ( other , Dimension ) else self . name < other
Dimensions are sorted alphanumerically by name