How to apply the sorting sequence on stacked column chart

Hello, I have created sucessfully a stacked column chart with datapoint values from my entitity. But still with some problem on sorting. can anyone give a hand?
(1) my "Label" on datapoints are text values. I did tried to put "1.", "2." in front of the chart labels but the outcome chart seems just put my columns in random sequence; How can I tell the chart engine how to show the labels from left to right in my sorting order?

(2) I also want the chart to show the "data series name" in certain sequence, how can I control which one on the top and which on bottom?

Hi Maple,

The order of series is determined by the series index property, the order of legend items by the legendIndex property.