protected function getSortInfo(BaseValue $value) { if ($value->date === null) { return null; } return $value->date->getTimestamp(); }