Kanji order in a jukugo

About differentiating 女王 and 王女, think

王子 and 王女: prince and princess
女王: 女の王: female king

More can frequently be seen in Leech Squashing