made array with each index corresponding to a todo. This will be used for dropdown order