In most cases, spark plug wires have numbers on them. However, in case they are not numbered, you can use their varying lengths to guide you. Alternatively, you can use your vehicle owner's manual to check the correct configuration of the wires.