Hello all,
I was applying the beginner course for Javascript, and while I am applying the sorting for array lecture, the output does not go correctly as in the lecture, I do not know what is the reason for that, and I’ll be appreciating to know what is wrong in my code. below is the code in the video and the code which is I wrote with the output