sort vs. sorted


The sort() method will sort a list in-place and return None. The built-in sorted() function will return the sorted list and leave the original list intact.