if you are trying to index the lists, they must have some sort of order, otherwise how would you be able to do indexing?
If you can't define it mathematically, then you won't be able to index. If there is some sort of consistent order, then indexing will work.
I suggest you try to run the two examples by themselves, verbatim so that you can play with the ordering mechanism, then apply to you actual code.
I forgot to mention this before, but it's important: There is still an ellipsis at the end of the data list that must be removed.
If you can't define it mathematically, then you won't be able to index. If there is some sort of consistent order, then indexing will work.
I suggest you try to run the two examples by themselves, verbatim so that you can play with the ordering mechanism, then apply to you actual code.
I forgot to mention this before, but it's important: There is still an ellipsis at the end of the data list that must be removed.