Update sortedListClass.h

Change string passed in methods to more general listItemType