sort-array-of-objects

1.0.0 • Public • Published

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.

/sort-array-of-objects/

    Package Sidebar

    Install

    npm i sort-array-of-objects

    Weekly Downloads

    0

    Version

    1.0.0

    License

    Apache-2.0

    Unpacked Size

    13.3 kB

    Total Files

    4

    Last publish

    Collaborators

    • aro1914