alphacyberranger to Programmer Humor@programming.dev • 2 years agoI'll just sort it myselfsh.itjust.worksimagemessage-square48fedilinkarrow-up1929
arrow-up1929imageI'll just sort it myselfsh.itjust.worksalphacyberranger to Programmer Humor@programming.dev • 2 years agomessage-square48fedilink
arr.sort((a, b) => a - b);
One hundred percent how I do it everytime.