not always the same I'm afraid. I've had to switch single pairs of wires around before.

Do you have a model number on the stepper so you could google search a manual?