arr[i]=new SortRegister(i,value);
}
ExceptionComparator comp=null;
// text
if(sortType.equalsIgnoreCase("text")) comp=new SortRegisterComparator(isAsc,false);
// text no case
else if(sortType.equalsIgnoreCase("textnocase")) comp=new SortRegisterComparator(isAsc,true);
// numeric
else if(sortType.equalsIgnoreCase("numeric")) comp=new NumberSortRegisterComparator(isAsc);
else {