Extract Class in Sorter sort type validation.