Add Next-Permutation in Dictionary Order