@Override
    public String toString() {
        return isSnapshot() ? major + "-SNAPSHOT" : major + "." + minor + "." + micro;
    }
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