Added date sorting and styling