Implemented search and sort in my inquiries.