Although I read the really interesting post about factor :
https://blog.exploratory.io/why-factor-is-one-of-the-most-amazing-things-in-r-e967fe27d292
I’m not able to order the legend on the survival analysis using a factor field as cohorts
Survival Curve Legend Screenshot
Any other VIZ legend Screenshot