Fixed date sorting on dashboard