The order by which Nuke executes operations can affect the outcome. The Card3D node lets you select the order by which Nuke executes scales, rotations, and translations, as well as the order by which it executes rotation on individual axes.
In the Card3D properties panel, select an option from the transform order dropdown menu, which displays all possible combinations (S signifies scale, R, rotation; and T, translation).
Select an option from the rotation order dropdown menu, which displays all possible axial combinations.