Add groupWith, sortWith, the, to support generalised list comprehensions