0

Hi I have a vector which contains a number of objects. Inside these objects are 2 attributes. the X and the Y coordinates. How Can I sort them from top to bottom 1st then left to right?

e.g

0,0

1,0

0,5,

3,1

2,5

the output would be

0,0

0,5

1,0

2,5

3,1

since this needs to check not 1 but 2 attributes, im a bit stumped. Any help would be appreciated.