VYvibha yadavinvibha07.hashnode.dev20Sorting in JavaScript (Why It Confuses Everyone at First 😅)Mar 26 · 3 min read · If you’re learning JavaScript, there’s a high chance you’ve tried this: [10, 2, 5].sort(); And expected: [2, 5, 10] But instead, you got: [10, 2, 5] At this point, most people think: “Is JavaScriptJoin discussion