alphacyberranger@sh.itjust.works to Programmer Humor@programming.dev · 1 year agoI'll just sort it myselfsh.itjust.worksimagemessage-square48fedilinkarrow-up1898arrow-down112
arrow-up1886arrow-down1imageI'll just sort it myselfsh.itjust.worksalphacyberranger@sh.itjust.works to Programmer Humor@programming.dev · 1 year agomessage-square48fedilink
minus-squarefloofloof@lemmy.calinkfedilinkEnglisharrow-up7·1 year 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.