White captures the stones in gote.
Changing the order of and gives the same result, but it doesn't invite White to make the small mistake at in the previous diagram.
If here, makes miai of a and b.
With as here, White cannot even capture a stone, because shortage of liberties at a prevents her from making the eye false.
Black 1 does not put enough pressure on the invading group, allowing white to capture the two stones on the left. black's remaining stones have only one big eye.