1.New York "ranks" as one of the biggest cities in the world.
2.My city "was ranked" in the top 10 safest cities in Japan.
1をNew York is ranked, 2をMy city ranks としても大丈夫でしょうか?
New York is ranked as one of the biggest cities in the world.
The city I live in has been ranked as one of the top 10 safest cities in Japan.
ーNew York is ranked as one of the biggest cities in the world.
「ニューヨークは世界で最も大きな都市の一つしてランク付けされる」
New York is ranked as ... と言うことはできますよ。
この場合、My city ranks in ... という言い方は不自然なので次のように言うと良いでしょう。
ーThe city I live in has been ranked as one of the top 10 safest cities in Japan.
「私の住む町は日本の最も安全な都市上位10位に入る」
ご参考まで!