delete timestamps in create_posts.rb, otherwise the heroku will fail rake db:migrate
Add sort function for post_controller