text: public int compareTo(FacetLabel other) {final int len = length < other.length ? length : other.length;for (int i = 0, j = 0; i < len; i++, j++) {int cmp = components[i].compareTo(other.components[j]);if (cmp < 0) {return -1; }if (cmp > 0) {return 1; }}return length - other.length;}