Connecting CNC Sheild to Stepper Motor

I am making a CNC machine and would like confirmation that I am connecting the Arduino CNC Sheild v3.0 to the NEMA17 stepper motors in the right order, please see attached.
Does it it matter what order they are connected?
The blue lines shown are pins that are not visible.