class ListSortPerSize:
    def __init__(self):
        pass

    def getSort(self,lst):
        print "Sort",lst
        # return sorted(lst,key=str.lower)
        return sorted(lst,key=len) # This will return sort lenth of the string


if __name__ == '__main__':
    lst=["muthu","se","mat"]
    stactInstance=ListSortPerSize()
    print "Sorted " ,stactInstance.getSort(lst)

