My stepper motor works, but it shouldn't. Either the cables are mislabeled or the sequence is incorrect
The coils are as designated, and you have to connect the "ends" of each coil to opposing output pins so that you can control the direction of the current, and thereby the direction the motor will turn.
When you put a hi on blk and a low on red, and a low on grn and a hi on blu, the motor will turn CW.  If you reverse this, it will turn CCW.

Additional information:
After further thought on this, I believe it should work the way you initially connected them (when it just vibrated), except you have to reverse the connections to one of the coils.