I have a list and I want to split it into 2 sublists in all possible ways If
S={1,2,3,4}
I should get
{{{1},{2,3,4}},{{1,2},{3,4}}......{{1,4},{2,3}}....
I'm interested in the products of the sublists so I want
{{1,4},{2,3}}
to appear in the result
but NOT
{{2,3},{1,4}} or {{3,2},{1,4}}
to appear, too.
To make things clearer, for
S={1,2,3}
the result should be
{{{1},{2,3}},{{2},{1,3}},{{3},{1,2}}}
in any order you like
NOTE: Any element in the starting list can appear more than once
S={1,2,3,3,3,4}
is acceptable and the result should have the element
{{1,2,3},{3,3,4}}
multiple times for ALL different 3's