If while washing head or any other part, if i wash hands also in between, then ghusl is valid?

If it’s not disturbing the sequence of washing the parts of body then it’s ok your Ghusl is valid. For example while you are washing your head and same time you washed your tip of fingers then it’s ok.