Create a Python class that takes a list as input and returns a sorted list as output.
[5, 2, 7, 3]
class SortList:
    def __init__(self, lst):
        self.lst = lst
        
    def sort_list(self):
        self.lst.sort()
        return self.lst