Based on their prescribing habits, a set of doctors was divided into three groups: 1/4 of the doctors were placed in Group X because they always prescribed medication. 1/3 of the doctors were placed in Group Y because they never prescribed medication. 1/6 of the doctors were placed in Group Z because they sometimes prescribed medication. Order the groups from largest to smallest, according to the number of doctors in each group.