It doesn't really matter. I usually put the female half, the side with the nut on first so I don't forget to put the nut on the pipe before I put that half on the pipe.
Since pool water plumbing typically does not connect directly your home water system, the installation typically does not have to meet all state and local building codes. However, it is commonly...