Made the order for the pagination in the header.