createLocaleSortFn
createLocaleSortFn: generated from the source of active-grid.
Exported by @workspace/. Generated from the package source; part of the index of every export.
Functions, hooks and constants#
Builds a comparator that orders a column's text in locale.
``ts helper.``
One collator is created per call and shared by every comparison the returned function makes, so build the comparator once per column set rather than once per render.
(locale: string, options?: Intl.CollatorOptions) => LocaleRowComparator