We recently realized that for distributed by reports the sorting is applied on the distributed by buckets rather than on the groupBy buckets, so distributed reports are currently unsorted on group level. Custom sorting currently only applies to distributedBy level. Integration tests currently also assert the wrong sorting.
- sorting of distributed reports is done on groups level
- DistributedBy buckets are sorted as well, but the sorting is not customisable by user.
- ITs are adjusted to the new sorting.
- duplicate sort logic in CompositeCommandResult && ReportHyperMapResultDto is cleaned up, there should only be a single place for the sort logic