added tags and sorted tags in posts