It does not matter.
To double clarify, all of the wires in a gray cable have to go into one of the triangles. (Ie one grey cable into one sperate triangle).
You choose which triangle based on which switch you want to use. Typically you have the switch to control the light in the side nearest...