Not sure if I understand your question, but A and B are a pair, and C and D make the other pair. One pair does the curl/dump functions. The other does the lift/lower function.
Sections of the valve typicaly go to the same pair of ports/cylinder. So like PSTG said A/B is a pair and C/D is a pair. You wouldnt typicaly cross baby bodies on the same cylinder.