However, the distributor cap's wire placement is the reverse of the firing order. This is because the distributor rotor rotates, picking up the spark in the reverse sequence to deliver it to the correct cylinder at the right time.
Therefore, you need to connect the spark plug wires to the distributor cap terminals in this order (going clockwise from the #1 terminal):
* #1: Cylinder 1
* #5: Cylinder 5
* #3: Cylinder 3
* #6: Cylinder 6
* #2: Cylinder 2
* #4: Cylinder 4
Crucial Note: Always double-check your specific Jeep Cherokee's engine (4.0L is the most common, but there might be variations). A diagram under the hood or in your owner's manual is the definitive source. Getting the spark plug wires wrong can severely damage your engine.