MathGroup Archive 2004

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

Search the Archive

Re: sort procedure

  • To: mathgroup at
  • Subject: [mg52500] Re: [mg52483] sort procedure
  • From: yehuda ben-shimol <benshimo at>
  • Date: Tue, 30 Nov 2004 05:24:02 -0500 (EST)
  • References: <>
  • Sender: owner-wri-mathgroup at

First, the Sort[] function is very flexible, so actually you can use ANY sort 
criterion you like to sort. I'm not sure that I fully understand the 
arrangements of your measurements you have a list element of the form 
zi={{x0,x1,x2,...,xk},{y0,y1,y2,...,ym}} where the xi are taken at time t and 
the yi taken at time t-1, z={z0,z1,z2,...,zn} (n pairs).
Then in this case use Sort[z,Length[#1[[2]]] <Length[#2[[2]]]&].
If the arrangement of your measurements is different than my understanding, 
please correct me.
On Monday 29 November 2004 08:22, paolo wrote:
> If I have a data serie of n paired observations (x_t,x_t-1) ordered
> according to time, how can i re-order this serie according to the size of
> x_t-1
> The procedure Sort it seems it does not work well.
> anyone has suggestions?
> thanks
> P.
> ____________________________________________________________
> Libero ADSL: navighi gratis a 1.2 Mega, senza canone e costi di
> attivazione. Abbonati subito su

  • Prev by Date: Re: sort procedure
  • Next by Date: Re: sort procedure
  • Previous by thread: Re: sort procedure
  • Next by thread: Re: sort procedure