I think might be better to organize tasks so that the sub-tasks a task depends on are listed before the task itself, so that you know which way in the file to start you search :)