alphacyberranger@sh.itjust.works to Programmer Humor@programming.dev · 10 months agoI'll just sort it myselfsh.itjust.worksimagemessage-square38fedilinkarrow-up1908arrow-down112
arrow-up1896arrow-down1imageI'll just sort it myselfsh.itjust.worksalphacyberranger@sh.itjust.works to Programmer Humor@programming.dev · 10 months agomessage-square38fedilink
minus-squarefloofloof@lemmy.calinkfedilinkEnglisharrow-up8·10 months agoIt 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.
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.