trying to fix sortForLesson issue in Heroku