Added dates as headers, arranged dates in ascending order.