def get_dirs(self, root, dirs):
        return [(root, d, "") for d in dirs if self.match(d)]
#         return sorted((root, d, "") for d in dirs if self.match(d))
:type root: TreeNode
dataset/ETHPy150Open mikar/demimove/demimove/fileops.py/FileOps.get_dirs--crossover with--dataset/ETHPy150Open kamyu104/LeetCode/Python/closest-binary-search-tree-value-ii.py/Solution.closestKValues