If you want to create a new list of values in reverse order, then you can use the reverse argument like this:
programming_languages = ('Rust', 'Java', 'Python', 'C++', 'Rust', 'Python')
print(sorted(programming_languages, reverse=True))
# Result
# ['Rust', 'Rust', 'Python', 'Python', 'Java', 'C++']
Wouldn’t this return
[‘Python’, ‘Rust’, ‘C++’, ‘Python’, ‘Java’, ‘Rust’]
?