Avionics last
That is the way I built mine, engine first, avionics last. The problem I remember is that the engine wires that pass though the hole in firewall took up too much room. When installing the GPS antenna from the avionics kit, I had to pull all of the engine wires out of the firewall grommet in order to get the GPS-cable-end connector through the firewall. If you delay installing the engine wires, there should not be a problem.
I wonder how that rubber grommet in the firewall passed ASTM standards?
Joe