Reorder a sublist

Hi, I hope someone can help me on this issue.

I reordered a list with sublists using this node:

and it worked fine. The problem is that in the original list, the first and the last sublists follow a different order (I don’t know why), so now I need to reorder only those ones.
Any idea how to get it?
thanks in advance

Hello! Are you asking how to get the first and last sublist of a list? If thats the case, try List.FirstItem and List.LastItem

This is one way to reorder the first and last sublist different than the rest:

Perfect, I got it.
thank you very much