Ordena de matriz en Angular 6

array.sort((a,b) => a.title.rendered.localeCompare(b.title.rendered));
Gifted Gharial