Reorder stack in a stacked bar chart

The colour sorting doesn’t work for me. I only have 2 categories and can switch the colours and yet my chart displays the same incorrect way.