Swap order of trigram-search and file-system glob blocks

The trigram searching code might want to fall-back on the file system
glob for some reason.  This is easier to do if the globbing code comes
after.
todos++