Sort results in the filter modal. Fixes #199