Python – List sort() Method

The Python list sort() method sorts the list ascending by default, but parameters can be included to change the sort method.