I finished the sort function and the search function.  The search function should work, and the sort function still needs to be fixed.