$a1 = [ [60,30,900] #from $values [2,3,4] #their original indexes ] and $a2 = [ [5,12,24] [7,8,9] ]