DEV Community

Orville Chomer
Orville Chomer

Posted on

SortArrayObjects() JS Function

Add code to sort an array of objects sorting on 1 or more property values in ascending and/or descending order.

The code you need to add to perform your sort is as little as 1 line!

Discussion (0)