Gruff Stacked Bar order of data

Jorge Rodriguez wrote:

I am making a stacked bar graph in Gruff. Could anyone help me by
telling me how I can change the order in which the data is stacked. No
matter what order I put the data in, I get the same result on the png
picure. Any help would be much appreciated.
     Thanks.

Too late to help the original poster, but might be helpful for anyone
else like me who only finds this post when searching on this problem:

Gruff automatically sorts bars with largest average value in the back.
You can turn this off by specifying sort = false when setting up the
graph. ie

g = Gruff::StackedBar.new(800)
g.data('Data Type 1', values1)
g.data('Data Type 2', values2)
g.sort = false

-1R