Create Next lexicographic permutation