sort by date, then by title in TOCs