def sort_by_name ( self ) : super ( JSSObjectList , self ) . sort ( key = lambda k : k . name )
python sort list by name
Sort list elements by name .
def sort_by_name(self):
        """Sort list elements by name."""
        super(JSSObjectList, self).sort(key=lambda k: k.name)