Tuning of magnetic order in CePd2In.