And not only by his coming but also by the comfort with which he was comforted in you. Here he gives another reason for the Apostle's consolation, namely, the consolation of Titus. The reason for this comfort is twofold: first, the amendment of the Corinthians, which they had in Titus' presence; secondly, the devotion they showed to Titus (v. 13b). In regard to the first he does two things. First, he mentions his comfort in the repentance of the Corinthians; secondly, he explains something he has said (v. 9b). In regard to the first he does three things. First, he mentions the comfort of Titus...; secondly, the reason for the comfort (v. 7b); thirdly, the effect of the comfort on the mind of the Apostle (v. 7c).
He says therefore: God not only comforted us in the coming of Titus, but also in the comfort with which Titus was comforted by you and in you.
The reason for this comfort is that Titus himself was comforted in you, as he told us of your longing, your mourning, your zeal for me. Here he mentions three praiseworthy things to counter the three blameworthy things that were in them. For they were lazy in regard to the good; against this he says, he told us of your longing to make more progress. They were also prone to evil; against this he says, your mourning, namely for sins committed: "Make mourning as for an only son" (Jer. 6:26). Finally, they were easily deceived by the false apostles; against this he says, your zeal against the false apostles for love of me. For previously you were zealous for them against me.
Then when he says, so that I rejoiced still more, he mentions the feeling he conceived from Titus' consolation, namely, one of joy. Hence, in regard to this he does three things: first, he mentions the joy he felt; secondly, he intimates his doubts; thirdly, the reason for the joy. He says therefore: I was so pleased with the things Titus related to me, that I rejoiced still more in that than I grieved in my tribulations. For spiritual things must be preferred to temporal things. Or that I rejoiced still more for having saddened you than I sorrowed before.
Source: Commentary on 2 Corinthians