@Override
    public int compareTo(Binding other) {
        return Integer.compare(this.generality, other.generality);
    }
Implements a partial ordering where more specific bindings come before less specific ones,
taking both the number of bindings and their positions into account (earlier dimensions
take precedence over later ones).
<p>
The order is not well defined for bindings in different dimensional spaces.
container-search/src/main/java/com/yahoo/search/query/profile/compiled/Binding.java