I am trying to create permutations of size 4 from a group of real numbers. After that, I\'d like to know the position of the first element in a permutation after I sort it.