Reorders function's first two arguments to make underscore or lodash more functional