if(caid != ((AdminGroup) o).getCAId()) return caid - ((AdminGroup) o).getCAId(); else
if(caid != ((AdminGroup) o).getCAId()) return caid - ((AdminGroup) o).getCAId();
    public int compareTo(Object o) {      if(caid != ((AdminGroup) o).getCAId())        return caid - ((AdminGroup) o).getCAId();          else          return admingroupname.compareTo(((AdminGroup)o).getAdminGroupName());                  }