angular-ui / ui-grid

UI Grid: an Angular Data Grid
http://ui-grid.info
MIT License
5.39k stars 2.47k forks source link

Incorrect work multiple grouping and sorting #7131

Closed Scrum closed 3 years ago

Scrum commented 4 years ago

Hello everyone, I ran into a problem where sorting does not work correctly or behaves strangely.

In the current implementation http://plnkr.co/edit/tVoci3SC5CJLw8L3?preview after clicking on sort date The first time the correct sorting occurs, but all subsequent clicks do not lead to the desired result.

What do I expect.

I expect that after clicking on sort by date, there will be a correct sorting of the groups.

If you disable the option useExternalSorting then the groups will be broken when you click on the sort, which seems very strange to me.

I really hope for your help / hint

Please make sure each of the following is true before submitting a new issue. We are a small team with limited time and it is very difficult to manage issues if they aren't reported correctly.