Adding `countBy`, `sortBy`, and `groupBy`, as well as `sort` and `comparator`.
Minor cleanup as well (currying `prop`, `props`, and `func`, adding `identity`)