Added sort param to GetTags snippet