How to sort a bar chart in a custom order Interact with the example on Sigma Public Bar charts sort text categories alphabetically by default. That is fine for store names, but not for categories with a natural order, such as Critical, High, Medium, Low. This post shows how to use a Switch calculated column to define the order you want, then sort the chart by it.