Hi, I would like to sort a table so that I get, not the elements, but the indexes.
If my table is {5,3,1,2,4} how to get a table which contains {3,4,2,5,1} ?
I remember it was possible with the sort function of AS3 but with Lua I didn’t find.
Thanks to help me