python sort list to corrct seuqnce code example Example: how to sort a list descending python # defning A as a list A.sort(reverse = True)