public function prepareOrderValue ($value, $dc)
	{
		$orderField = $GLOBALS['TL_DCA']['tl_content']['fields'][$dc->field]['eval']['orderField'];
		$orderData = \StringUtil::deserialize($GLOBALS['TL_DCA']['tl_content']['fields'][$orderField]['data']);
		
		$GLOBALS['TL_DCA']['tl_content']['fields'][$dc->field]['eval'][$orderField] = (is_array($orderData)) ? $orderData : array();

		return $value;
	}
public function prepareOrderValue ($value, $dc)
	{
		$orderField = $GLOBALS['TL_DCA']['tl_content']['fields'][$dc->field]['eval']['orderField'];
		$orderData = \StringUtil::deserialize($GLOBALS['TL_DCA']['tl_content']['fields'][$orderField]['data']);
		
		$GLOBALS['TL_DCA']['tl_content']['fields'][$dc->field]['eval'][$orderField] = (is_array($orderData)) ? $orderData : array();

		return $value;
	}
public function prepareOrderValue ( $ value , $ dc ) { $ orderField = $ GLOBALS [ 'TL_DCA' ] [ 'tl_content' ] [ 'fields' ] [ $ dc -> field ] [ 'eval' ] [ 'orderField' ] ; $ orderData = \ StringUtil :: deserialize ( $ GLOBALS [ 'TL_DCA' ] [ 'tl_content' ] [ 'fields' ] [ $ orderField ] [ 'data' ] ) ; $ GLOBALS [ 'TL_DCA' ] [ 'tl_content' ] [ 'fields' ] [ $ dc -> field ] [ 'eval' ] [ $ orderField ] = ( is_array ( $ orderData ) ) ? $ orderData : array ( ) ; return $ value ; }
Prepare the virtual order field

@param mixed         $value
@param DataContainer $dc

@return mixed
Prepare the virtual order field