Sorting in stacked bar charts does not work

Hi !

I'm working with V0.49 and I can't order a stacked bar chart in a simple query :

I can't understand why. I looked in another topics but without success.

You are ordering by theNombre de lingers. Not by the SUM(Nombre de lingnes) ... The stacked chart sums up the value on the frontend but doesn't use the logic order. Change from stacked to table and you will see how metabase is ordering your table. Which is applying the same order on the chart.

But when you stack the visual adds stuff up. Since you have multiple breakdowns, also for reference: