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