The distributor houses the ignition coil and distributor cap which directs the high voltage to the spark plug wires in a specific firing order.
The firing order for the 1987 Pontiac Fiero 2.5L Iron Duke engine is 1-3-4-2. The number corresponds to the cylinder number.
To determine the spark plug wire placement on the distributor cap, you'll need to consult a repair manual or a diagram specific to that year and engine. The rotor in the distributor will indicate the firing order sequence as it rotates. The order of the wires on the cap should match the firing order.