I have a list of let's say 8 number:
42 31 96 29 53 32 39 16
Then I sort them from low>high using list-sort abs from list-abs:
16 29 31 32 39 42 53 96
This works fine, but the next step I am not even sure where to begin with.
The next step I would like to do is to get the order of the reordered list, which in this case would be:
7 3 1 5 6 0 4 2
The 7th element of the original list is now first, the 3rd element of the first list is now second and so on.
How would I go about getting the order of the reordered list?
I would like to apply that same order from that list to some other lists.
I checked list-sort abs and printet some of the data from the different processes, but I didn't find the actual order. I am really not familiar with data structures.
(the length of is just an example, the lists are going to be longer, sometimes 16 elements, sometimes 64 elements.....=
Here is a starting point: