Hello,
Here is my variable a:
In[7]:= a
Out[7]= {{2., 3.}, {4., 5.}, {4., 8.}, {4., 9.}, {9., 5.}, {9., 7.}, {10., 1.}}
I would like to sort these data in order to abide by this syntax:
{{x1,y1,...},{x2,y2...}}
What for my variable a would return:
In[7]:= a
Out[7]= {{2., 3.}, {4., 5., 8., 9.},{9., 5., 7.}, {10., 1.}}
How would you proceed to automate this sorting?
Thank you very much