Develop a Python function that takes a list of strings and returns a new list with the strings sorted in alphabetical order.
['Elephant', 'Cat', 'Dog']
def sort_list(words):
    return sorted(words)

sorted_list = sort_list(['Elephant', 'Cat', 'Dog'])
print(sorted_list)