col := OrderedCollection new. col add: 1. col add: 3. col add: 2. col sorted. col
you will see that col is now sorted. This is wrong. We expect #sorted to return a sorted collection without changing the receiver. This code col := Array with: 1 with: 3 with: 2. col sorted. col works as expected. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
