Question: Can I preserve the labelling in a set of "solve" results?

I have some cubic and quartic equations with complex cofficients. Maple 2015 is able to solve these and returns the roots as labelled sets, so I can do things like "plot S[1]". I want to vary some parameters in the coefficients, and see what happens to the roots.
My problem is when I log out and then rerun the code, the labels 1,2,3,(4) are frequently attached to different roots than they were the first time. This is both unexpected and inconvenient. Is there any way to ensure that the same roots are always given the same labels?

[moderator: see also this Question from 2023]

Please Wait...