I'm trying to make a python function in which I give a certain list, and it returns a list with sorted positions of elements (not starting with 0) . For example:
list = [9,3,4,1]
function(list) = [4,2,3,1]
or
list = [2,2,6,5]
function(list) = [1,1,3,2]