swap the arg order of `such-that` to have the fn first