Sorting Bar chart px.bar according to Y axis cateogory

Hi @Dashz, unfortunately I did not understand, what you are trying to do.

For future posts: could you please format your code for better readibility?