Order matters: rotate-then-shear ≠ shear-then-rotate
R = rotate 90°, S = shear. Switch the order and watch the final grid differ.
S after R (apply R first)
R after S (apply S first)