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