@Override
    public int compareTo(Version other) {
        return comparator.compare(this, other);
    }
Snapshots sort last within their major, and sorting is on major, then minor, then micro otherwise.
vespa-application-maven-plugin/src/main/java/com/yahoo/container/plugin/mojo/Version.java