| Author |
Comment/Response |
Nadine
|
07/23/03 9:12pm
Hi,
I have tried for some time to sort a simple binary nested list, unsuccessfully. All I am trying to do is to order,e.g.
{{0,0,1},{1,1,0},{1,0,0}}
according to how many 1's are in each subset, so the return should look like
{{1,1,0},{1,0,0},{0,0,1}} or {{1,1,0},{0,0,1},{1,0,0}}
depending on whether it matters where the 1's are.
Thanks for any suggestions.
URL: , |
|