Hi Bryntum team,
I've encountered an issue with multi-level sorting on columns with custom sort functions defined. I've included a CodePen link to test with. Any help on this would be greatly appreciated, thanks!
Expected Behavior: Applying a multi-level sort to two columns with custom sort functions should work.
Actual Behavior: Only the first level sort is applied. Even with the
prioritizeColumns sorting feature enabled.
A little background: We get strings that we want to sort as numbers, so the sort function removes non-digit characters before comparing numbers.
Demo/Test Link: https://codepen.io/BeckerP86/pen/LYmOwzv
When only one column is sorted, each column sorts correctly in both directions using its sortFn defined on the column config. Where it seems to break is when a multi-sort is applied to columns with custom sorts defined.