Derive character matrix permutations