public function reverse()
    {
        if ($this->getComparator() instanceof ReverseComparator) {
            $this->setComparator($this->getComparator()->getOriginalComparator());
        } else {
            $this->setComparator(new ReverseComparator($this->getComparator()));
        }
        return $this;
    }