I am trying to order the bars in a stacked bars plot according to the first variable - in this case "Terp". Any ideas how to do that? Here\'s the code for the plot