I'm developing an angularJS application which receives the following object from an API:
pessoas = [
{ nome: 'Lucas', data: '2010-Fev-04'},
{ nome: 'Felipe', data: '1994-Dec-10'},
{ nome: 'Ana', data: '1994-Jun-21'},
{ nome: 'Carlos', data: '1991-Fev-20'}
];
I need to sort the column by date, but it comes in the form of an API string. I can not see a way to sort the dates correctly since I can not change the contents of that object and make the date a timestamp.