I assume this just uses standard system API, so spotlight or mdfind.
There's an app called Hazel that does your stack sorting. And you can get paths (copy file populates pasteboard with multiple forms, one of which is the file path) and paste paths easily (I use keyboard shortcut but it's also on the context menu). You can paste paths into goto box or even into file selector to instantly change the directory to the location of the file and select it. There are so many "hidden" things like this throughout macOS that it's worth asking before giving up hope that something might not be possible.