implement compareTo() override that accounts for version in GAV