Provide tasks in index order out of the task graph