Added procfile for heroku
fixed bug in sort in index