searchOrders() method