"arranged in sorts," 1797, past participle adjective from assort (v.).
assort
v.
late 15c., "to distribute into groups," from Middle French assortir (15c.), from Old French assorter "to assort, match," from a- "to" (see ad-) + sorte "kind" (see sort). Related: Assorted; assorting.