Status: Accepted
Owner:
[hidden email]
Labels: Type-Defect Priority-Medium GLASS-Server Version-2.4.x
Version-1.0-beta.8
New issue 260 by
[hidden email]: Sorting of SortedCollection
superfluous
http://code.google.com/p/glassdb/issues/detail?id=260What steps will reproduce the problem?
1. #( a b c d ) asSortedCollection sort: [:a :b| a <= b]
results in an error
Solution:
implement SortedCollection>>#sort: not to use the super
implementation but to just update the sort block:
"in *squeak-sorting"
sort: aBlock
" we don't need the merge sort from super, just update our sort block,
also acusing a resort."
self sortBlock: aBlock