Added blog post order by. Small refactor