adding regex and sort to mongo queries, but bit slow. need to fix