Jordan Cox's first international fifty propelled England to a series-sealing, six-wicket win over Ireland in the final T20l at Malahide - after Sonny Baker suffered another chastening debut.