code: public int compareTo(Object obj) {
  		DistinguishedName that = (DistinguishedName) obj;
  		ListComparator comparator = new ListComparator();
  		return comparator.compare(this.names, that.names);
  	}
docs: Compare this instance to another object. Note that the comparison is done
  in order of significance, so the most significant Rdn is compared first,
  then the second and so on.
  
  @see javax.naming.Name#compareTo(java.lang.Object)