update minor entries_controller.php #sort by date_posted