Added the sortType variable and its getter and setter methods