[Deneb] - Sort - Bar Chart

Why is the bar chart only sorted if I use the “op”: “sum” property?

why should we use the OP to sort, what does this property actually do?

Hi @domingo42. The default sort for a type = nominal field will be alphabetic by the field name [in your case, country]). If you want to use a sorting based on a different field, then the sort block can be added (in your case using the sum operation in descending order on the Total Sales field).

Hope this helps.
Greg

3 Likes

Perfect explanation Greg, thank you very much, now I understand this property OP

1 Like