Given:
- the visualization table is selected
When:
- in edit mode
Then:
- I can click on the table headers to order the dataset, switching between ascending/descending order
AT:
- the UI should work in the same way as for raw data reports.
- when the visualization is changed to something != table the sorting needs to get reset (set to null) as we don't have any approach to allow sorting for non table reports yet and if kept the other visualization results would be ordered accordingly
Notes:
The relevant api is the same as used for raw data report sorting data.parameters.sorting
See
https://github.com/camunda/camunda-optimize/wiki/Reports#single-process-report
&
https://github.com/camunda/camunda-optimize/wiki/Reports#single-decision-report