input: Write a python function to create a class that initializes a sorted list and overrides the less than operator.
  assert SortedList([4, 1, 3, 2]).data == [1, 2, 3, 4]
  assert list(SortedList([5, 9, 7, 6])) == [5, 6, 7, 9]
  assert SortedList([1, 2, 3]) < SortedList([2, 3, 4])
output: def SortedList(data):
      class SortedListImpl:
          def __init__(self, data):
              self.data = sorted(data)
          
          def __lt__(self, other):
              return self.data < other.data
          
          def __iter__(self):
              return iter(self.data)
          
      return SortedListImpl(data)