public int compare(Object obj1, Object obj2) {
   PatientDiagnosisWebServiceVo voObj1 = (PatientDiagnosisWebServiceVo) obj1;
   PatientDiagnosisWebServiceVo voObj2 = (PatientDiagnosisWebServiceVo) obj2;
   return direction * (voObj1.compareTo(voObj2, this.caseInsensitive));
 }