ext for permutations