Moving to the city what would be a better financial decision over the next 4 years: buying a 1-2 year old used Mitsubishi Mirage, or a similarly priced older Toyota Corolla/Honda Civic of whatever given year would fit in the budget?

Seems like I can get a 2024 Mirage for around $13k, and a Corolla of that same price would be around 2016 or older from a quick search. What would you go with? Account for everything at the end of 4 years including residual value once sold, maintenance and repairs, gas, technology, etc.

Since it’s in the city I would prefer to avoid the automatic in whatever vehicle, I’ve driven my old manual e46 in city traffic it’s always miserable.