Trying to create a chart to completion of tasks. Unfortunately it sorts the tasks alphabetically and I want them by either their indiex number or date. Can't seem to get either to work.

Tried concetenating the index number with the task name in a formula, but it converts the number to a string and it wont sort correctly. Any ideas?