I've got files structure, where child components of some main components are in sub-folders.
eg
TaskEditor/index.tsx, TaskEditor/Comments/index.tsx etc.
So when I search for TaskEditor
I've got

(and actually it was not 4th, I had to arrow down as it was like 20th)
I think it could take all files matching, and then order by component name match