China’s Sun Yang won the men’s 400m freestyle gold at swimming’s world championships on Sunday with Kosuke Hagino of Japan in second and Connor Jaeger of the USA finishing third.