Re: Sort problem
- To: mathgroup at smc.vnet.net
- Subject: [mg56318] Re: Sort problem
- From: Marcus Stollsteimer <marcus314 at yahoo.com>
- Date: Fri, 22 Apr 2005 06:22:43 -0400 (EDT)
- Organization: Comp.Center (RUS), U of Stuttgart, FRG
- References: <d47suf$54n$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
konstantpi at mail15.com wrote:
> How to sort two lists such as:
> age={30,12,60,20};
> pple={"john","kate","peter","alice"};
>
> to give the output:
> age={12,20,30,60}
> pple={"kate","alice","john","peter"}
Hi,
use Ordering[]
Regards,
Marcus
--
What is life but a series of inspired follies? -- George Bernard Shaw