private function recursiveSort(array &$element)
    {
        foreach ($element as &$value) {
            if (is_array($value)) {
                $this->recursiveSort($value);
            }
        }

        uasort($element, function (
            Translation $a,
            Translation $b
        ) {
            return strcmp($a->getKey(), $b->getKey());
        });
    }