changes to page formatting and date sorting