Add and implement ConsoleSorterListener and implment add and remove sorterListener in AbstractSorter.