The fun part is that Spotlight used to do this, but they progressively made it worse year after year. It became completely unusable for me maybe a couple of years ago and switched to Raycast, which I use exactly like I used to use Spotlight in 2010 and nothing more.