Reorder params for lex nodes,