Preparing search index...

    Module sorting

    sorting - Fast, locale-aware name comparison helpers

    String.prototype.localeCompare re-derives collation data on every call, which is a measurable hot spot under Hermes when sorting large lists on each render. These helpers share a single Intl.Collator, keeping the same default-locale ordering while avoiding the per-call setup cost.

    byName