Minor simplification of sortBy.