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