demo_ref_list_sort2.py:
cars = ['Ford', 'BMW', 'Volvo'] cars.sort(reverse=True) print(cars)
C:\Users\My Name>python demo_list_sort2.py
['Volvo', 'Ford', 'BMW']