Found a small bug in JsChartUtil, fixed it...

Both orderScenariosByValue and orderStepsByValue were returning less than the expected number of colours in the list, when more than one of the numberTotalX variables had the same value