I am wondering why guides change the order inside legend (ie color then shape)?
library(ggplot2)
basic <- ggplot(mtcars, aes(wt, mpg, colour = factor(cyl), shape = factor(vs) )) +
geom_point()
basic
basic + labs(color = "color")
basic + guides(color = guide_legend(title = "color"), shape = guide_legend(title = "shape"))