SORT AND CLASSIFY 4b