Sort and Search

Add more test cases for search method