Web: Sorting post by date latest first

Applying sort for posts array based on date latest first