search for hateds and order by