Write a function in Python that takes an unordered list of integers as a parameter and will return a sorted list.
Unordered list = [8, 20, 5, 1]
def sortList(list):
 sorted_list = sorted(list)
 return sorted_list