serialize methlist in reverse order to stabilize method order after deserializing (see #8652 for cause). note this causes more nuisance ambiguity warnings