more declarative search of order