I’m looking at the documentation of sortWith. It is confusing to me what my
lt function should do in case the two given objects are equal.
sortWithever/never going call my function with equal arguments?
- Am I responsible for calling
==and returning a Boolean, which Boolean should I return,
- Am I really supposed to implement a less-than-or-equal function, or is it really a less-than function?