/Sorting-an-Array-of-Objects

This is a helper function that sorts an array of objects.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

sortArrayOfObjects(arrayOfObjects, property)

This is a helper function that sorts an array of objects. It does this by using the property passed as an argument to sort the objects in the array. If successful, returns the sorted array of objects, else the original array is returned.