This
diagram at RealOEM makes it look like the crank sensor points down, and is closer to the driver's fender.
This diagram makes it look like the cam sensor points down as well, but makes it look the same. There's a channel piece on the left of that diagram that makes me think it's not represented correctly. I have no clue, and I took a long look around the web for some hints.
I can't believe that nobody knows this offhand...Worse comes to worse, just tone out the right wires at the DME/ECU/Motronic connector. Don't do this with the DME plugged in, it'll likely fry it!
Pull the DME connector and run a continuity test from the cam & crank wiring harness pin #1 to the following DME connector pins:
44 Camshaft sensor input BK
67 Crankshaft input sensor BK
68 Crankshaft input sensor YL
I'm not 100% positive that this is the e36 harness, but I'm pretty sure they're nearly identical so hopefully it'll give the right answer.
I know you didn't ask, but I have a dumb way of making sure I get this right given my short attention span and daft memory...I bought myself a $1 pack of small multi-colored zip ties at the dollar store; I use one on the sensor and a matching one on the harness. Never failed me yet (and shows my toleration for all the world's peoples). It's especially useful on the temp/oil sensors on the side of the head.