Blog

Blog's main page
Page 1/1 | Articles: 3 | Tag: JavaScript | English
EN
Picture of the article: Sorting arrays of objects in JavaScript

Sorting arrays of objects in JavaScript

Learn how to sort arrays of objects in JavaScript using modern techniques like toSorted(), localeCompare(), and custom compare functions. This quick guide covers string sorting, multi-property sorting, descending order, and date sorting with practical TypeScript examples.