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
Hey, thanks for creating this essential functionality for the JS/TS ecosystem. I have a feature request that I'd be willing to look into implementing as a PR, but I figured I'd raise an issue first to see if that's something that'd be appreciated.
I'd like to be able to sort an array of objects 'naturally' by some property:
Hey, thanks for creating this essential functionality for the JS/TS ecosystem. I have a feature request that I'd be willing to look into implementing as a PR, but I figured I'd raise an issue first to see if that's something that'd be appreciated.
I'd like to be able to sort an array of objects 'naturally' by some property:
Or even use an accessor function, which would be useful for nested items:
[...].sort(natsort({property: (item) => item.nestedItem.created}))
I'd love to hear some thoughts.
The text was updated successfully, but these errors were encountered: