ggplot2 order barplot elements scale_x_discrete code example
Example: ggplot2 barplot order of bars
theTable$Position <- factor(theTable$Position, levels = c(...))
theTable$Position <- factor(theTable$Position, levels = c(...))