I’m just showing you an example of the logic at a base level. You would still need to apply this logic to your data and (more specifically) structure, which has sublists to check.
You just need to have the main function loop through the sublists like you did in your original post. The only difference would be maintaining the unique list. Are you wanting only unique values within the sublist or for all sublists?
Per sublist or the entire list? Like would Space 1 show up at index 0 and index 5 or would index 5 be blank because Space 1 already appeared at index 0?
because I have to do a flatten for that, but I have to find the same order after because I can have in my sublist several spaces if they are different like that
index 0
1 space 1
2 space 2
3 space 3
index 1
1 space 5
2 space 1
3 space 1
If I use unique item I need to do a list.flatten before otherwise it doesn’t work