Add tasks index based on due date.