I\'m baffled as to why the boxplots are not ordering in this plot:
set.seed(200) x <- data.frame(country=c(rep(\'UK\', 10), rep
Because you did not make it an ordered factor. Try
ggplot(x, aes(reorder(country, wing, median, order=TRUE), wing)) + geom_boxplot()