Reverse date and month position for production pdf and reverse order or items in ascending order