search order changed to hql