Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: Sort a List, in a List of Lists of Lists

  • To: mathgroup at smc.vnet.net
  • Subject: [mg113834] Re: Sort a List, in a List of Lists of Lists
  • From: Peter Breitfeld <phbrf at t-online.de>
  • Date: Sun, 14 Nov 2010 06:51:22 -0500 (EST)
  • References: <ibl9g2$b8a$1@smc.vnet.net>

leigh.pascoe at inserm.fr wrote:

> {{{1,2},{2,1},{1,1}},{{1,1},{1,1},{1,2}},{{2,1},{2,2},{1,2}},{{2,2},{1,2},{2,2}},{{1,1},{2,1},{1,2}},{{1,2},{2,2},{2,2}}}

You might do the following with your list:

Map[Sort,list,{2}]

-- 
_________________________________________________________________
Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de


  • Prev by Date: Re: Sort a List, in a List of Lists of Lists
  • Next by Date: Re: Plotting functions and lines on the same figure?
  • Previous by thread: Re: Sort a List, in a List of Lists of Lists
  • Next by thread: Re: Sort a List, in a List of Lists of Lists