JavaScript .sort(), "Why b - a, Not a - b"

📰 Dev.to · Mohamed Idris

The thing that always trips people up You see this in someone's code: numbers.sort((a,...

Published 11 May 2026
Read full article → ← Back to Reads