Inconsistent rotation values when using print strings

I’ve been trying to create a physics object that can be rotated in 90 degree angles and have been using print strings to debug.

The rotation looks like it is working correctly, but I have found that the values that the print string displays are different from what is set. A basic example of this problem is below. The rotation value is set to 00.00.90, but the print string displays it as 00.90.00

This confused the hello out of me so wanted to check if this is how it is supposed to behave?

The components of the rotator look like so:

296712-annotation-2020-02-11-220441.png

So it prints fine. Is it an inconsistent and confusing naming convention - hell yeah.