Subject: Answer
First Thanks for you help…
You missed a minor point to the problem…
If I have a list 120,117,119,121,119,123
And I get their places (as you helped)
4, 1, 2, 5, 2, 6
Now - I have another list in situation ‘A’
of 0, 0, 0, 0, 0, 0
This means - I do nothing to the ‘places’ of:
4, 1, 2, 5, 2, 6
Now - Situation ‘B’ marks the one NOT to change!
0, 0, 1, 0, 0, 0
This means - I have ‘decided’ that the first person with the 119 time should be 2 and the second 119 time should be 3… therefore changing the places to: 4, 1, 2, 5, 3, 6 (note the one NOT marked is changed!
I did solve this as follows:
A= 0,0,1,0,0,0 (which one is marked NOT to be changed)
B= 0,0,1,0,1,0 (identifies which two are tied)
Abs(A-B) == 0,0,0,0,1,0 - then I add it to the 4, 1, 2, 5, 2, 6 == 4,1,2,5,3,6
Thanks for your help!!!