ソートであれば
sōtodeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of ソート

1. If sorted; When sorted

Ba Conditional