private function getDirectoryIterator($path)
{
$nodes = new \DirectoryIterator($path);
$dirs = [];
foreach ($nodes as $dir) {
if (!$dir->isDir()) {
continue;
}
if ($dir->isDot()) {
continue;
}
$dirs[hexdec($dir->getFilename())] = $dir->getPathname();
}
krsort($dirs);
return new \ArrayIterator($dirs);
}