I have this json definition, in which I sort the color using a numeric field (n
in the image below).
But in the output the legend is sorted by a textual field (k
in the image above).
How force legend sorting by n
field, ascending?
I must add sorting in encoding