Fix issues with filtering, compartmentalize filter functionality

Make sortedRows data structure two-dimentional to keep track of sorted
and filtered data sets.

Flesh out workerFilterTableData, make it easier to offload into a
webworker when the time comes.