protected function sortNestedTypoScriptKeys()
{
$arraySorter = new PositionalArraySorter($this->properties, '__meta.position');
try {
$sortedTypoScriptKeys = $arraySorter->getSortedKeys();
} catch (InvalidPositionException $exception) {
throw new Fusion\Exception('Invalid position string', 1345126502, $exception);
}
foreach ($this->ignoreProperties as $ignoredPropertyName) {
$key = array_search($ignoredPropertyName, $sortedTypoScriptKeys);
if ($key !== false) {
unset($sortedTypoScriptKeys[$key]);
}
}
return $sortedTypoScriptKeys;
}