Huh? You're just connecting 2 wires together? As long as they're the same on both sides of the connector it doesn't matter how you do it as far as I'm aware.
I use these junction boxes on my security lights ... 1,2 &3 are whatever you want live,neutral, earth for example assuming your cabling is 3 wire ... the labelled earth is if you want an extra earth , no need just ignore.