implemented order search functionality