[VexC++] Lines not being executed

For our auton I have these lines
The issue is that when the auton starts it skip the first drive rotate for lines and goes straight to the next one.
I fixed this by adding a 1 second sleep before the start rotate for, but the program skips the 1 second.
It doesn’t skip the rotate for lines anymore, so the problem is fixed.
I’m still curious as to why this happened, and if anyone else experienced it

 Puncher.rotateFor(270,rotationUnits::deg,100,velocityUnits::pct);      
    Vertical.spin(directionType::fwd);
    task::sleep(1000);
    Puncher.rotateFor(90,rotationUnits::deg,100,velocityUnits::pct);   
    DriveL.startRotateFor(-0.88,rotationUnits::rev,25,velocityUnits::pct);
    DriveR.rotateFor(0.88,rotationUnits::rev,25,velocityUnits::pct);
    task::sleep(50);
    Front.spin(directionType::rev,200,velocityUnits::rpm);
    DriveL.startRotateFor(3.52,rotationUnits::rev,25,velocityUnits::pct);
    DriveR.rotateFor(3.52,rotationUnits::rev,25,velocityUnits::pct);