☞ Generalize the pattern from last lab to make a keep items such that block.


☞ Write the combine with block. Note: The base case will be a list with one item, not an empty list.

☞ Modify the sort block you wrote earlier to take a comparison predicate as an input, so you can say

sort (list) using (>) to compare

to sort numbers with the largest one coming first.