this is json
[{“id”:2,“userid”:30, “start_time”:“2019-09-01 14:13:35”},{“id”:3,“userid”:340, “start_time”:“2019-08-01 14:13:35”}]
public items: any;
loadPeople(){
this.remoteService.load()
.then(data => {
console.log(data);
this.people = data;
});
ı can pull json and display in the page very well. But ı want store this.people in to items array depend on start_time which is the earliest. Hopefully ı was able to explain problem