Lexicographical permutations