Better example for `sort` use case (#642)
Better example for `sort` use case (#642)

Other examples show raw comparison, with explicit calling of the method `compare`.
This example however uses `sort`. It's more optimal to create the Collator object only once. Moreover, the example shows, that the `compare` function is already bound to the Collator object.
mdn/interactive-examples,mdn/interactive-examples,mdn/interactive-examples