Implement Comparable interface to allow sorting of repositories
Added method to resolve versions of an artifact