how to sort a list in python

#1 Changes list
list.sort(reverse=True)
#2 Returns sorted list
sorted(list, reverse=True)

Here is what the above code is Doing:
1. The first line sorts the list in reverse order.
2. The second line returns a sorted list in reverse order.

Note that both of these methods modify the list in place.