See the 2 screenshots: If the includePath has "${workspaceFolder}/a" then the bug repros,
but with "${workspaceFolder}/t" it behaves correctly -- t is lexicographically greater than the source's parent directory "sub".

Tests added for #11989 caused this to start to be hit (after a lexigraphically smaller includePath was added).