Hallo, Thomas Ouellet Fredericks hat gesagt: // Thomas Ouellet Fredericks wrote:
Please help, I can not figure this out:
How can I sort a multidimensional list by it's first element? I know of a way using [coll] (cyclone) but from my experience, [coll] is unstable.
Example : how do I sort the following list [[2,3],[7,4],[5,3],[6,7]] ? The result would be : [[2,3],[5,3],[6,7],[7,4]]
I'd suggest the Georg Holzmann's wonderful PDContainer externals for this, they are in CVS and provide various very useful data types. In your case, you can directly use "h_list" like in attached patch.
Frank Barknecht _ ______footils.org__
_ __latest track: fqdn _ http://footils.org/cms/show/38