Is there a function to convert a int list to a list that shows the smallest-to-largest order of the list? : <p>I need a function that turns a list like
[10,5,2,3,7]
to a list like
[4,2,0,1,3]</p>

<p>Basically a list [0,1,2,3,4...] but arranged in the order that the original list has, smallest to biggest.</p>

<p>I have no idea where to even start on a function like this. I have Python 3.5.2.</p>
