I have been trying to make a dodged bar chart. And seemingly there is a problem with the order of putting the bars side by side. For all of the individual elements of the x-axis (discrete observations), the grey bar is on right, except for one where the value of the grey bar is less than the value asssociated with the red bar. This does not seem to be associated with the levels of the factor used for the filling the objects because that only seems to flip of the bar sides and only reverse the issue without solving it. So, any ideas of how to control the order of the dodged bars (or stacked bars - since I seem to have the same issue with that too)?
thnx all.