finished set default search sort by and click to search