added date sort to dashboart page