Order get_terms() by hierarchy

I was looking for the same thing and think this should work for you : Custom taxonomy, get_the_terms, listing in order of parent > child

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)