MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Sort problem


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


  • Prev by Date: What's new in .NET/Link 1.2.0?
  • Next by Date: Re: Sort problem
  • Previous by thread: Re: Sort problem
  • Next by thread: Re: Sort problem