feature(search): Allows filtering/reordering types returned in search

This adds a trigger hook to allow filtering/reordering the types and
subtypes queried and displayed.

Fixes #6118
Merge pull request #6350 from mrclay/6118

feature(search): Allows filtering/reordering types returned in search