• floofloof
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    It also produces incorrect results in many languages other than English. You can pass it a compare function that uses localeCompare or Intl.Collator to get a correct alphabetical sort.