Allow / infer types for dragged on metadata
Context
It improves readability especially when dealing with number-based labels.
Description
The legend should be sorted in increasing order.
Examples
Here's an example where sorting would be helpful.
Hey @kvargha - if you change the scale type to "ordinal" or "continuous" they should be ordered. Currently it looks like it's a categorical scale which is ordered by the number of associated nodes in the tree. The scale type is typically set via the auspice-config.json - here's an example of a continuous scale being defined.
Thank you for the explanation @jameshadfield. Is there a way to change the scale type on the client side? This is for a case where users upload their own metadata such as PHI.
Ahh gotcha. At the moment this isn't possible but we could add this pretty easily. One option is to allow column names such as Age:ordinal. Alternatively we could probably infer the type in many (most?) cases, which might be a more generally useful solution.