Advent Challenge 6: Transport Dock Relabeling!
Mathematica, 106 bytes

sSelect[MinMax/@s~TakeList~#&amp;/@Join@@Permutations/@IntegerPartitions@Tr[1^s],Unequal@@Join@@Range@@@#&amp;]



Try it online!

Martin saved 16 bytes