Enable resorting of filters.

Closes #14, but the feature still isn't really going to work right until #17 is addressed.