public function toPersistenceValue(SPIValue $value) { return new FieldValue(array('data' => null, 'externalData' => $this->toHash($value), 'sortKey' => $this->getSortInfo($value))); }