string perms in order nfactorial*n