descending order of numbers in list in python code example Example: sort a list of ints python in descending order print sorted(ListB, reverse=True)