as for classing sonar....sonar range is based on true ability and not level.
Base range is 9.25
when ability reaches 620,000 range is 10.5
when ability reaches 1,160,000 range changes to 11.75
when ability reaches 2,130,000 range changes to 13
no more changes after that.
You can see that it goes in steps so classing, adding vets and experts takes some thought. You may add some and see no change in range as you have not gotten past the true ability step. However, they will add to the repair/restore ability.
For US as an example, sonar potential increases by 1 for each lvl. However, repair/restore growth is reduced by 8 for 2nd sonarman, by 7 for 1st and by 6 for chief so it is best to class on time.
Since range is based in tiers, you can remove crew from your sonar sailor to save weight.
Just have enought vets and experts to keep the maximum range and reduce the number of rookies.