Commit 907d2ae
Fix group by sorting to respect user-selected sort column
The reorder() call was wiping out any user-selected sort and always
ordering by the group column. Now respects sortBy when set to
'aggregate' or 'group_value', allowing users to sort by count/sum/etc.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0cc1d6d commit 907d2ae
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
46 | 54 | | |
47 | 55 | | |
48 | 56 | | |
49 | 57 | | |
50 | | - | |
| 58 | + | |
51 | 59 | | |
52 | 60 | | |
53 | 61 | | |
| |||
0 commit comments