return tags sorted by content