Add ordering by weight when getting terms by vocabulary.