Hi, I think this library could be used more. For example, providing a sortBy function that works similar to how Python's default sort(key=) works.
In Python, we have @cmp_to_key, but in TS/JS, developers can just use the regular sort function, so providing a Pytho-like sort is very powerful.
Hi, I think this library could be used more. For example, providing a sortBy function that works similar to how Python's default sort(key=) works.
In Python, we have @cmp_to_key, but in TS/JS, developers can just use the regular sort function, so providing a Pytho-like sort is very powerful.