subsets (npm): groupBy with comparison function.
Keywords: divide|groups|subsets|sets