If sub list contains same value then regroup sub list

Hi, I thought this would be a very common needs, but I am struggling to find the answer here. If I have a revision history of each drawing like this. How to regroup them based on drawing number. in other words, when sublist contains the same value how to regroup the sublist? in this case, sublist divides by drawing number. how to achieve it? Thanks


I don’t understand what you trying to achive. Can you sketch it? Like this is your current list and it’s sublists. What do you want to get it to?

thanks for reply. does this make sense?

Works only if your item, that you want to match, is at index 0.

1 Like