The past tense of sort with is sorted with.
The third-person singular simple present indicative form of sort with is sorts with.
The present participle of sort with is sorting with.
The past participle of sort with is sorted with.