Added a few filters & and and simple output loop.

The output loop is simply to test the speed of running sorts on the data
after it is all processed.  It seems to work really well.