fix for heroku
fixing the sorter