Added sort method for getHTags()