Sort criteria by year for blog posts I have a View set up for blog post content in Drupal 8. The blog posts were all posted at the same time but have different "year" tags attached to them based on when the post is relevant to the company, and I am trying to sort them starting with most recent year (2019 to 2014. I can't seem to get them to filter in the correct order based on the tags. 

These are the steps I have already taken:


Added a relationship with "Taxonomy: Terms on node". Selected the tags vocabulary.





Added a sort criteria for taxonomy term - year (which is in the tags)





Tagged all blog posts with the correct year (ranging from 2014-2019) 


But the posts are still in a completely random order. Am I missing a step somewhere?
You don't need a Relationship to add the Tags sort (use the actual Tags field reference, not the generic "Terms on node"). 

But this way the results will be sorted by TID, not by term names. If your tags have been added chronologically then their TIDs will also be chronological and you can use this sort criteria (it doesn't matter if asc. or desc.). 



But if your TIDs for years terms are mixed up you have to sort by term name. This is an alphabetical sort, not a numerical sort, but luckily it will work correctly in your "years" case. 

To do that you have to: 


Add the Relationship for your tags field, you can require it since you only want nodes that have the years tag to appear 
Add Sort criteria Name from the Taxonomy term Category (it will automatically use the Relationship from above) 


Now your results will be sorted by text 2015, 2016 etc.