Sort Object Array

Syntax

Sort Object Array

Parameters

Array

Array of objects to sort

Predicate

Function that takes two objects which returns true if first object is less than second

Output

Sorted Array

New array of sorted objects