permutation-rank (npm): Ranks and unranks permutations
Keywords: permutation|rank|unrank|order|compare|sort|group