public function getSortKey() { $status = $this->getResult(); $sort = HarbormasterUnitStatus::getUnitStatusSort($status); $parts = array($sort, $this->getEngine(), $this->getNamespace(), $this->getName(), $this->getID()); return implode("", $parts); }