Possible to Sort Chart Series? [solved]

Is it possible to enforce ordering of a series?

I tried ordering in various ways w/ the CAML query, but it doesn’t seem to be working. I would want the series to display in the order of Draft, Business Review, Import, Implemented below, but as you can see in the screenshot below, the order seems arbitrary right now.

Thanks!

–Chuck


Similar to my other post, also solved this one by sorting in the preRender handler, just had to sort the modified date first to get the weeks to show up in the correct order, then sorted the overall series array by the status.

var series = config.series;
    
/* Sort each series array (which are the items by status) by modified date so weeks are sorted correctly */
for (var i = 0; i < series.length; i++) {
  series[i].data.sort(function(a, b) {
    return a.Modified - b.Modified;
  });
};
  
/* Sort series by the status they contain */
series.sort(function(a, b) {
  return a.data[0].Status_x0020_Order - b.data[0].Status_x0020_Order;
});

Please see [url]CAML ordering not working in Chrome]