duplicates = [2.2, 4, 5, 3, 0.98, 2.2, 4, 5, 3, 0.98, 2.2, 4, 5, 3, 0.98]
duplicates.sort()  # inplace edit
print(duplicates)
print()

duplicates = [2.2, 4, 5, 3, 0.98, 2.2, 4, 5, 3, 0.98, 2.2, 4, 5, 3, 0.98]
duplicates.sort(reverse=True)  # inplace edit, keyword arguments
print(duplicates)
print()

duplicates = [2.2, 4, 5, 3, 0.98, 2.2, 4, 5, 3, 0.98, 2.2, 4, 5, 3, 0.98]
duplicates.reverse()
print(duplicates)