[cpp] Sort e_constrs before dumping