Minor updates, replaced newestFirst with sortType.