The matrix is designed so that the row vector for A:B is different from the row vector for B:A only by a permutation of the elements.
the same permutation distinguishes the row vectors for C:D and D:C. the cosine of the angle between A:B and C:D must be identical to the cosine of the angle between B:A and D:C (see equation 7).