How to custom sort the categories or control sorting, in hierarchical charts like sunburst, treemap, icicle

Hi

any one has earlier tried or have knowledge to share regarding, custom sorting the categories or controlling of sorting, in case of the hierarchical charts like sunburst, treemap, icicle

I am trying it especially with icicle, using the suggested way from Docs, but it is not effective

fig = px.icicle(data, path=[px.Constant("all"), 'CategoryX', 'CategoryY'], 
		values='LeafValue', 
		branchvalues="total"
		)
fig.update_traces(sort=None)

it always sorts all the categories and leaf values too, any way to control it or avoid or any other work around?

I think this issue exists in Plotly too, not just in Dash