Probably known, but Rotator Roll Pitch Yaw in editor is Pitch Yaw Roll in c++

Is this a known bug or ‘as designed’? Just caught it today.