Ad: ID variable and group ordering

Hi Peter,
Would it be possible to change the alphabetical ordering of labels and sort the groups in the outputs by the order of label appearance  across observations?
Thank you for considerig it.
Iveta