effect
effect copied to clipboard
Add new Order.localeString ordering option
What is the problem this feature would solve?
Order.string is not locale aware, but String module has a locale compare function
What is the feature you are proposing to solve the problem?
Effect should be containing this functionality for the Order module by default:
const localeString = (locales?: string[]) =>
Order.make((self: string, that: string) =>
String.localeCompare(that, locales)(self))
What alternatives have you considered?
No response