alphacyberranger@sh.itjust.works to Programmer Humor@programming.dev · 1 year agoI'll just sort it myselfsh.itjust.worksimagemessage-square49fedilinkarrow-up1929arrow-down112
arrow-up1917arrow-down1imageI'll just sort it myselfsh.itjust.worksalphacyberranger@sh.itjust.works to Programmer Humor@programming.dev · 1 year agomessage-square49fedilink
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.