public function getVariableDataFromDeliveryResult($resultIdentifier, $wantedTypes = array(\taoResultServer_models_classes_ResponseVariable::class,\taoResultServer_models_classes_OutcomeVariable::class, \taoResultServer_models_classes_TraceVariable::class)) {
        $variablesData = array();
        foreach ($this->getTestsFromDeliveryResult($resultIdentifier) as $testResult) {
            foreach ($this->getVariablesFromObjectResult($testResult) as $variable) {
                if($variable[0]->callIdTest != "" && in_array(get_class($variable[0]->variable), $wantedTypes)){
                    $variablesData[] = $variable[0]->variable;
                }
            }
        }
        usort($variablesData, function($a, $b){
            list($usec, $sec) = explode(" ", $a->getEpoch());
            $floata = ((float) $usec + (float) $sec);
            list($usec, $sec) = explode(" ", $b->getEpoch());
            $floatb = ((float) $usec + (float) $sec);

            if ((floatval($floata) - floatval($floatb)) > 0) {
                return 1;
            } elseif ((floatval($floata) - floatval($floatb)) < 0) {
                return -1;
            } else {
                return 0;
            }
        });
        return $variablesData;
    }