change order_by for global search