code: public int compareTo(XEventAttributeClassifier o) {
  		if (!o.name.equals(name)) {
  			return name.compareTo(o.name);
  		} else {
  			if (keys.length != o.keys.length) {
  				return keys.length - o.keys.length;
  			}
  			for (int i = 0; i < keys.length; i++) {
  				if (!keys[i].equals(o.keys[i])) {
  					return keys[i].compareTo(o.keys[i]);
  				}
  			}
  		}
  		return 0;
  	}
docs: /*
  (non-Javadoc)
  
  @see java.lang.Comparable#compareTo(java.lang.Object)