They might look alike but really they only fit one way. Even the injector wires are cut to length so that should be dead easy to sort out.
Just start by laying the wiring back along the firewall and connect the parts you know, nothing stretches so should all make sense at that point.
Look at some pics online on google or something if you need to.
Performance one step at a time.