Closed corvana-nbaker closed 6 years ago
I've changed the logic. I'd like to add a couple constants for sort behavior. Right now it will skip the sort step if the custom sort function is an empty function () => {}. It would be much better to be able to pass Pivot.Sort.NONE, and add Pivot.Sort.DEFAULT.
Looks like the coverage drop was from adding the sortFunc to update(). I'll need to add a test for that
Is there any update with this PR? It looks like a great feature.
Coverage increased (+0.008%) to 98.889% when pulling ee31fdee20aab0d309fb5ffee470d3e2de05dc7f on corvana-nbaker:master into 5c82c66ba99b08375289f8c287e0a1c7c714fbca on pat310:master.