traceorder

The order at which the legend items are displayed. "normal": top-to-bottom in the same order as the input data. "reversed": the items are displayed in the opposite order.