created SortingList class