Third world navies are no longer third world navies today.
A few years ago, much of the world's forces consisted of discarded US WW2 ships and subs.
Nowadays, even minor countries start buying AEGIS style surface vessels and modern submarines. Call it maritime globalization

Those asian nations have had enormous economic growth and in classic mahanistic theory they realized to maintain that ecomonic power, they have to have control of the sea lanes.
Until a few years ago, basically all submarine forces except for NATO and Warsaw pact were status symbols. I've heard a lot of horror stories from german submariners on how Indonesians or whoever handled (or better not handled) german build subs.
Nowadays, all those former 1-2 sub forces expand their fleets into a really capable threat, with the training and professionalism to go along with it.