Made StudyImg sortable, sorted StudyImgs in StudyDir