trying to prepare for heroku
update to use pg in production
updated application.rb
added sorting to table