sorting multiple lists by first number

Aug 12, 2008 at 2:43pm

sorting multiple lists by first number

Hi,

Is there any way I can sort several pairs of numbers by the first number in each pair. So that

2 1
4 2
5 3
1 4
3 5

can become

1 4
2 1
3 5
4 2
5 3

??

Thanks in advance,
Jay

#39244
Aug 12, 2008 at 2:50pm

#137875
Aug 12, 2008 at 2:54pm

damn i’m still using the outdated 4.5

#137876
Aug 12, 2008 at 2:58pm

look at the “sort” message to coll.

M

On Aug 12, 2008, at 10:43, Jay Bodley wrote:

>
> Hi,
>
> Is there any way I can sort several pairs of numbers by the first
> number in each pair. So that
>
> 2 1
> 4 2
> 5 3
> 1 4
> 3 5
>
> can become
>
> 1 4
> 2 1
> 3 5
> 4 2
> 5 3
>
> ??
>
> Thanks in advance,
> Jay

#137877
Aug 12, 2008 at 3:30pm

oh yes, that’s right. thank you.

#137878

You must be logged in to reply to this topic.