public function getContactOrder() { $order = $this->getKey("contact_order"); if ($order === false) { $order = "lastmsg"; } return $order; }