Stepper motor not turning counterclockwise

That may not be correct. See this whole thread:

If the problem is that the coils are crossed, perhaps swapping the middle two wires in code would uncross them:

Stepper myStepper (stepsPerRevolution, 8,10,9,11);

Try your code in this simulation if you don't want to risk your hardware: