Sort teams by instructor sharding