I have an Angular 2 typescript application that is using lodash for various things.
I have an array of objects that I am ordering using a property in the object...>
The code I needed looks like this...
_.orderBy(this.myArray, [( o ) => { return o.myProperty || ''}], ['desc']);