Hi Dear,
Please, How to sort the graph bar from the lowest to the largest by infant_mortality_2016?

Thanks,
Best.
Please, How to sort the graph bar from the lowest to the largest by infant_mortality_2016?
Code:
sencode country, g(countrys) twoway (bar infant_mortality_2016 countrys if com_exp == 1, col(orange*0.5) barw(0.7)) /// (bar infant_mortality_2016 countrys if com_exp == 2, col(magenta*0.4) barw(0.7)) /// (scatter infant_mortality_2000 countrys, mlcol(white) msize(medlarge) mcolor(midblue)), /// xlab(1/78,valuelabel ang(v) labsize(tiny) labcolor(midblue)) ylab(,angle(0))scheme(vg_rose) ytitle("{bf: infant_mortality}", size(vsmall)) xtitle("") /// title("{bf: Evolution of}", size(medsmall)) /// legend(lab(1 "Oil exporting countries") lab(2 "Non-oil exporting countries") order(1 2 3) region(c(none))) ///
Best.
Comment