Sort list: biggest to smallest

I am trying to create a list of indexes of a given list in order from highest to lowest number.

Given the list:

list = [20, 30, 24, 26, 22, 10]

I need to generate the following output:

index_list = [1, 3, 2, 4, 0, 5]

How can I do this in Python?

lst = [20, 30, 24, 26, 22, 10]
index_list = sorted(range(len(lst)), key=lambda i: lst[i], reverse=True)
print(index_list)

Output:

[1, 3, 2, 4, 0, 5]

Note: it is recommended to avoid using list as a variable name as it is a reserved keyword in Python.