Changes

Summary

  1. Add a comparison between booleans in sort functions. (details)
Commit e03d77c219bba6d1ef4e4f5674344f8d9b66dc32 by cyril
Add a comparison between booleans in sort functions.
With this I can replace:
```Smalltalk meta allProperties
sorted:
[ :property1 :property2 | property1 name = #name ifTrue: [ -1 ]
ifFalse: [ property2 name = #name ifTrue: [ 1 ] ifFalse: [ 0 ] ] ]
ascending,
[ :p | p isComposite ifTrue: [ 1 ] ifFalse: [ -1 ] ] ascending,
#name ascending
```
by:
```Smalltalk meta allProperties
sorted:
[ :property | property name = #name ] descending,
#isComposite ascending,
#name ascending
```
The file was modifiedsrc/SortFunctions-Tests/ThreeWayComparisonTest.class.st (diff)
The file was modifiedsrc/SortFunctions-Tests/SortFunctionTest.class.st (diff)
The file was addedsrc/SortFunctions-Core/Boolean.extension.st