The sum of the ascent positions (the comajor index).
On Permutation
Called as CombinatorialStat(x, "MinorIndex"). The head's page has its examples.
CombinatorialStat(x, "MinorIndex")