lst = ["2","4","1","3"] lst.sort() print(lst) lst.sort(reverse=True) print(lst)
['1', '2', '3', '4'] ['4', '3', '2', '1']