Initial support for filtering/sorting matches

Need to do a pip install again to bring in new dependencies.