public function getIterator() { return $this->isSorted() ? $this->sortedIterator() : $this->unsortedIterator(); }