On 4/12/2010 7:48 AM, Bert Freudenberg wrote:
Hmm, indenting it like this makes it more obvious:
a height> b height or: [ a height = b height and: [ a width> b width or: [ a width = b width and: [ a depth> b depth]]]]
Personally, I write multi-level sort blocks like here:
a height = b height ifTrue:[a width = b width ifTrue:[a depth >= b depth]] ifFalse:[a width >= b width] ifFalse:[a height >= b height]
Cheers, - Andreas