Joe Hart

I’ve been coding in JS for who knows how long and I just wasted an hour not realizing .sort() is mutative and I should’ve been using .toSorted() instead 🤦‍♂️