revert sort fix

This commit is contained in:
benharri 2016-07-20 13:35:02 -04:00
parent 49b437d97a
commit 166417a802
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class Blog implements ControllerProviderInterface
foreach($blogposts as &$blogdir){
uasort($blogdir, function ($a, $b) {
return $a['publish_date'] <=> $b['publish_date'];
return $b['publish_date'] <=> $a['publish_date'];
}); // sort blog posts by publish date
foreach($blogdir as &$post){