Change order of pagination links