code: @Override
      public int compareTo(final DependencyInfo that) {
  
          // Return quick.
          if (that == this) {
              return 0;
          }
          if (that == null) {
              return -1;
          }
  
          // Compare internal stater
          int toReturn = this.getGroupId().compareTo(that.getGroupId());
          if (toReturn == 0) {
              toReturn = this.getArtifactId().compareTo(that.getArtifactId());
          }
          if (toReturn == 0) {
              toReturn = this.getVersion().compareTo(that.getVersion());
          }
          if (toReturn == 0) {
              toReturn = this.getType().compareTo(that.getType());
          }
  
          // All done.
          return toReturn;
      }
docs: {@inheritDoc}