SORT AND CLASSIFY 2b