I need to sort a bar chart based on the values of a button.
The bar chart should be sorted based on the dimension and the value as per the selection of the button.
In both cases, the order needs to be ascending.
The buttons look as below:
![thakurj_0-1692691273929.png thakurj_0-1692691273929.png](https://community.qlik.com/t5/image/serverpage/image-id/114879i3C92A2DDAC17D7AC/image-size/medium?v=v2&px=400)
Can someone please help.