You wanted to sort graphs for both the years? Please provide some sample data or clear your question.
I want to sort on 2012 the latest year. when i am applying the sort on Quarries tableau is in doubt as to apply on which year I don't see any option where i full fill both condition.
Tableau is sorting based on the sum of both years. If you want it to only consider 2012, you could sort on a calculation such as
IF [Year] = 2012 THEN [Queries]
Hope this helps,