date sorting fixed