How to sort the values ​​of the stacked bar d3.js?

I have a stacked bar d3.js using this data

var data = [
        {month: "Q1-2016", apples: 3840, bananas: 1920, cherries: -1960},
        {month: "Q2-2016", apples: 1600, bananas: 1440, cherries: 960},
        {month: "Q3-2016", apples:  640, bananas:  960, cherries: -640},
        {month: "Q4-2016", apples:  320, bananas:  480, cherries: 640},
        {month: "Q5-2016", apples: 3840, bananas: 1920, cherries: -960},
        {month: "Q6-2016", apples: 1600, bananas: 1440, cherries: 990},
        {month: "Q7-2016", apples:  640, bananas:  960, cherries: 1200},
        {month: "Q8-2016", apples:  320, bananas:  480, cherries: -640},
        {month: "Q9-2016", apples: 3840, bananas: 1920, cherries: 1960},
        {month: "Q10-2016", apples: 1600, bananas: 1440, cherries: 960},
        {month: "Q11-2016", apples:  640, bananas:  960, cherries: -640},
        {month: "Q12-2016", apples:  320, bananas:  480, cherries: 720},
    ];

My question is if there is a way to always plot the apples first, so that the apples are always at the bottom