What algorithm does Array.prototype.sort() use? What’s the output of [1, null, 5, 2, undefined] · InterviewLane