Chart.js stacked bar ordering depending on value
问题 I have a stacked bar but I want to order the bars based on the summed value of my two datasets. Does any one have any idea how to do this using chart.js functionality? See here data: { labels: stores, datasets: [ { label: 'Rev', data: dataPack1, backgroundColor: "rgba(55, 160, 225, 0.7)", hoverBackgroundColor: "rgba(55, 160, 225, 0.7)", hoverBorderWidth: 2, hoverBorderColor: 'lightgrey' }, { label: 'Tax1', data: dataPack2, backgroundColor: "rgba(225, 58, 55, 0.7)", hoverBackgroundColor: "rgba