You assume the order of wires is the same order they need to be sequenced in, that's probably not the case.
There are 24 ways to order 4 wires, and only 8 or those will work. Try swapping wires (with power off)
and trying again. Repeat till success!