Problem with sort - order labels in Icicle or sunburst plot

I used in grafana by ploty
does not order correctly
let data_in = [{
type: “icicle”,
sort :true,

When sorting the categories, you can see in the image that “modificaciones” (18.092%) come first than “indefinido_estado”(25.907%), but undefined state has a higher percentage, so the sorting by level does not work correctly. Also visually it is bigger