I'd say the order of importance is
Tank > Heal > DPS
Obviously understanding basic mechanics > everything.
I wonder in what fights is it more important to have better DPS than better tanks? There are many fights you can do with pretty bad DPS but there are a whole lot less that you can do with bad tanks/heals.