Which library/libraries did you use for the interactive graphs?
I'm not entirely happy with the framerate I get with the button-triggered animations (especially on mobile) but lack the front-end expertise to track down the problem.
If there truly are roots of multiplicity >= 2, then preserving the order of the multiple roots doesn't matter. Another issue is that Newton-Raphson might fail if the roots are too close.