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