prev/next links respect ordering of index