Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Sort problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg56292] Sort problem
  • From: konstantpi at mail15.com
  • Date: Thu, 21 Apr 2005 05:36:11 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi
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"}

ie: to keep every person opposite his age number.
thanks


  • Prev by Date: thanks
  • Next by Date: Re: multiple 3d plots
  • Previous by thread: thanks
  • Next by thread: Re: Sort problem