Order by specificity when quality is the same