code: @Override
      public int compareTo (GTFSError o) {
          int compare = super.compareTo(o);
          if (compare != 0) return compare;
          return this.badReference.compareTo((((ReferentialIntegrityError) o).badReference));
      }
docs: must be comparable to put into mapdb