Angular pipe filter by date

I have an answer in json and I would like to post articles by date, need your help please !!!

Sort in the controller, not pipe

Use array.sort(sortFunc), where sortFunc does the sort comparison. Many examples on the web

Thanks for the reply @Tommertom, can you post a e.g please ?

Plse check google

Otherwise: post your code so we can comment