Sorting Listeners by type.