Change the order of my chart legend

Are you using a terms aggregation to split the series? If yes, the order should be determined by the sorting function of the aggregation. In your case it seems like they are just the alphabetical order, so switching the sorting to "Alphabetical ascending" should do the trick: