Order Factor on Analytics

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 :frowning:

Survival Curve Legend Screenshot

Any other VIZ legend Screenshot

Hi Victor,

How are you creating the factor?

Also, can you try it with v5.0? We have fixed this area under Analytics so this might have been fixed already as well.

Hi Kan … On v5.0 works !

The legend is ordered on the survival analysis as the factor field indicates.

Good job.