Create GenericClassForSorting