Remove props related to `_.sortBy` if the method isn't included in a given build.