trying to sort tag segments
sorted tag segments