added sort by date and search box