Fix indeterministic ordering in OnDemandFormatterTest