added column sorting
added search functionality and custom directive
updated unit test for search directive