I'm not sure how to approach this problem. I want to print the node that comes first in alphabetical order(not the whole thing, but only the one that's first in alphabetical order) e.g. . In my structure i.e D,C,A,B would become ADCB. i have a name should i can compare it but since there's so many possibilties i'm kind of conused. I've tried searching and haven't found any information on what i'm trying to do. Any help would be appreciated.