I have this dataframe
I try to show graph by this code
sns.barplot(data=africa_all_percent,y="country", x="suicide_percent_for_all_pop",palette='plasma',orient="h")
it's give me this results
I try to order by desc with this code
orderX = africa_all_percent['suicide_percent_for_all_pop'].sort_values(ascending=False)
sns.barplot(data=africa_all_percent,y="country", x="suicide_percent_for_all_pop",palette='plasma',orient="h",order = orderX)
look like it's not work, I tried some solutions but it's still not work.
solution or code guiding for order by desc in this graph.