Sort methods by specificity