visualization-tool icon indicating copy to clipboard operation
visualization-tool copied to clipboard

Document Sorting Logic

Open sosiology opened this issue 10 months ago • 2 comments

To increase transparency, document the logic around the sorting. This is consolidated in the sortingvalues.ts

sosiology avatar Jan 30 '25 09:01 sosiology

Note: This description is draft, i.e. work in progress

With reference the original issue (#2032), the current sorting for hierarchies is indeed as follows:

  • Hierarchies are sorted one level at a time, starting at the root, before branches are sorted
  • Only the hierarchy headings are sorted, leaf nodes (i.e. values at the lowest level are not)
  • For the dataset in question, the hierarchy within the cube is as follows:
Image

adintegra avatar Apr 07 '25 20:04 adintegra

FYI there is also this document that could be improved with the results from this ticket.

ptbrowne avatar Apr 08 '25 06:04 ptbrowne