Fixed the report date sorting