Levente Uzonyi uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-ul.260.mcz==================== Summary ====================
Name: Collections-ul.260
Author: ul
Time: 23 December 2009, 12:23:32 pm
UUID: de4b02f8-b0aa-5e47-93f7-4a3e3c300060
Ancestors: Collections-ul.259
- make sure that SortedCollection's #sort and #sort: update the sortBlock
=============== Diff against Collections-ul.259 ===============
Item was added:
+ ----- Method: SortedCollection>>sort: (in category 'sorting') -----
+ sort: aSortBlock
+ "Sort this collection using aSortBlock. The block should take two arguments
+ and return true if the first element should preceed the second one.
+ If aSortBlock is nil then <= is used for comparison."
+
+ super sort: aSortBlock.
+ sortBlock := aSortBlock!