You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In v2, the naturalOrder export was removed, due to it not being immutable. That's not strictly true: the compare function itself is perfectly immutable, it just allows users to do non-immutable things by plugging it into Array.prototype.sort.
My use case is that I have a table library that doesn't allow sorting rows but only lets me specify a compare function to compare two rows by a column (the library e.g. manages sorting order, nested rows, sorting by multiple columns). I can't use it with v2.0.3 now. 😭
The text was updated successfully, but these errors were encountered:
Hey! I'm so sorry, I only just now saw this issue. I'm assuming you've found a different solution at this point, but if it's still a concern please let me know.
In v2, the
naturalOrder
export was removed, due to it not being immutable. That's not strictly true: the compare function itself is perfectly immutable, it just allows users to do non-immutable things by plugging it intoArray.prototype.sort
.My use case is that I have a table library that doesn't allow sorting rows but only lets me specify a
compare
function to compare two rows by a column (the library e.g. manages sorting order, nested rows, sorting by multiple columns). I can't use it with v2.0.3 now. 😭The text was updated successfully, but these errors were encountered: