Added grace credits sort, moved parse_date out of compare_commit_dates for use by repo table