At the moment, it seems that order of items is hardcoded in the following line:
|
legendOpts.entries.sort(function(a, b) { return a[0].trace.index - b[0].trace.index;}); |
It would be great to allow ordering items by value for unified x hovermode as mentioned in comments #4477 (comment) and #4477 (comment).
Current behavior sample:

Desired behavior sample:
