ok, very similar to what i am looking for, but the thing is i have a list not just like (0,n), its like (0;0)...(0;3),(1;0)...(1;3), (2;0)...(2;3), etc
;0;1;1;0}
{0;0;1;2;0} ...
{0;0;2;0;0}
{0;0;2;1;0}
{0;0;2;2;0} ...
{0;0;3;0;0}
{0;0;3;1;0}
{0;0;3;2;0} ...
...
and I would like to have this in two lists separated:
{0;0;0;0;0}
{0;0;0;1;0}
{0;0;0;2;0} ...
{0;0;2;0;0}
{0;0;2;1;0}
{0;0;2;2;0} ...
...
{0;0;1;0;0}
{0;0;1;1;0}
{0;0;1;2;0} ...
{0;0;3;0;0}
{0;0;3;1;0}
{0;0;3;2;0} ...
...
How can I do that?…