Searching and Sorting mostly Implemented

Still want to add a few things, but it's working pretty nicely.