Sorting Plost bar chart

Hi Guys,

I have a bar chart with multiple input values (as a list).
image

I want to sort the bars by the first value in the list or alternatively by the total size of the bar.
Also, my bar chart uses the horizontal direction:

plost.bar_chart(
    data=datasets['stocks'],
    bar='company',
    value=['q2', 'q3'],
    direction='horizontal'
)

Anyone an idea how i could solve that?

Hey Chris, could you provide some sample data for this??