---
title: "vibha yadav (@vibha07) | Hashnode"
description: "From Bugs to Blogs. Read the latest articles by vibha yadav on Hashnode."
url: "https://hashnode.com/@vibha07"
---

@vibha07

# vibha yadav

@vibha07 · Delhi, India · Joined March 2026

From Bugs to Blogs

### [Sorting in JavaScript (Why It Confuses Everyone at First 😅)](https://vibha07.hashnode.dev/sorting-in-javascript-why-it-confuses-everyone-at-first?utm_source=hashnode&utm_medium=feed)

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 JavaScript

3 min read · [vibha07.hashnode.dev](https://vibha07.hashnode.dev/sorting-in-javascript-why-it-confuses-everyone-at-first?utm_source=hashnode&utm_medium=feed)

[Mar 26](https://hashnode.com/posts/sorting-in-javascript-why-it-confuses-everyone-at-first/69c5291710e664c5dac4ff30)
