The query for which i am drawing the bar is ( I am using 20.1)
select TOWER LABEL,
PRIORITY SERIES,
count(*) VALUE
from PBI_PKE
where "sla_in_7days" = 'Yes'
group by TOWER, PRIORITY
order by decode(TOWER, 'LINUX', 1, 'WINDOWS', 2, 'OPENSTACK', 3, 'TOOLS', 4, 'AV', 5, 'READY', 6) ASC
and I get a bar chart as below

I want to do the following things
- I want to order the labels so that the order is Linux, Windows, Openstack, AV
- I want to order the series Critical, High, Medium, Low.
Thanks
Rakesh