Swap the order of parameters in ResultAnd