Since the triangle in the tutorial contains the origin (the pivot point for rotation and scale), it does not matter which order a scale and a rotation are applied.