code: public int compareTo(QPathEntry compare)
     {
        int result = 0;
  
        if (this.isSame(compare))
           return result;
        result = namespace.compareTo(compare.namespace);
        if (result == 0)
        {
           result = name.compareTo(compare.name);
           if (result == 0)
              result = index - compare.index;
        }
        return result;
     }
docs: {@inheritDoc}