Sorting with context

There are two distinct contexts. See: How does "context" and "lessThanFn" work in standard library sort functions? - #2 by dimdin