Expect sort header before accessing the title