Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- array.sort((item, nextItem) =>
- item.label.localeCompare(nextItem.label, "fr", {
- sensitivity: "base",
- numeric: "true"
- })
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement