A hierarchy exists in the functional roles each Person of the Trinity plays.
However God the Father, Jesus the Son, and the Holy Spirit are all equal in nature.