Skip to content

✓ Inconsistent Sorting orders #1629

@Kronmar-Bafu

Description

@Kronmar-Bafu

Describe the bug
The logic behind the sorting in the legend is inconsistent.

To Reproduce
If one uses a segmentation along a specific key dimension, one can choose different possibilities for their order. Namely "Total size" for alphabetic, "number" for numerical and "auto".

See this small Dashboard
https://visualize.admin.ch/en/v/0P29VUhlFBuA

Sorting the by Total Size yields a legend which is sorted from the bottom up, while sorting by Name yields a legend sorted from the top down.

Expected behavior
It should be consistent across the different sorting methods.

Environment (please complete the following information):

  • Visualize environment and version: PROD v4.0.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions