top | item 21731328

(no title)

matthuggins | 6 years ago

What if you tried to sort an array of objects or functions?

discuss

order

willtim|6 years ago

If one doesn't specify a comparator and there is no obvious/sensible default, then an error would be perfectly reasonable.